android-components / mozilla.components.browser.state.action / TabListAction

TabListAction

sealed class TabListAction : BrowserAction (source)

BrowserAction implementations related to updating the list of TabSessionState inside BrowserState.

Types

Name Summary
AddMultipleTabsAction data class AddMultipleTabsAction : TabListAction
Adds multiple TabSessionState objects to the BrowserState.tabs list.
AddTabAction data class AddTabAction : TabListAction
Adds a new TabSessionState to the BrowserState.tabs list.
RemoveAllNormalTabsAction object RemoveAllNormalTabsAction : TabListAction
Removes all non-private TabSessionStates.
RemoveAllPrivateTabsAction object RemoveAllPrivateTabsAction : TabListAction
Removes all private TabSessionStates.
RemoveAllTabsAction object RemoveAllTabsAction : TabListAction
Removes both private and normal TabSessionStates.
RemoveTabAction data class RemoveTabAction : TabListAction
Removes the TabSessionState with the given tabId from the list of sessions.
RestoreAction data class RestoreAction : TabListAction
Restores state from a (partial) previous state.
SelectTabAction data class SelectTabAction : TabListAction
Marks the TabSessionState with the given tabId as selected tab.

Inheritors

Name Summary
AddMultipleTabsAction data class AddMultipleTabsAction : TabListAction
Adds multiple TabSessionState objects to the BrowserState.tabs list.
AddTabAction data class AddTabAction : TabListAction
Adds a new TabSessionState to the BrowserState.tabs list.
RemoveAllNormalTabsAction object RemoveAllNormalTabsAction : TabListAction
Removes all non-private TabSessionStates.
RemoveAllPrivateTabsAction object RemoveAllPrivateTabsAction : TabListAction
Removes all private TabSessionStates.
RemoveAllTabsAction object RemoveAllTabsAction : TabListAction
Removes both private and normal TabSessionStates.
RemoveTabAction data class RemoveTabAction : TabListAction
Removes the TabSessionState with the given tabId from the list of sessions.
RestoreAction data class RestoreAction : TabListAction
Restores state from a (partial) previous state.
SelectTabAction data class SelectTabAction : TabListAction
Marks the TabSessionState with the given tabId as selected tab.