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

CustomTabListAction

sealed class CustomTabListAction : BrowserAction (source)

BrowserAction implementations related to updating BrowserState.customTabs.

Types

Name Summary
AddCustomTabAction data class AddCustomTabAction : CustomTabListAction
Adds a new CustomTabSessionState to BrowserState.customTabs.
RemoveAllCustomTabsAction object RemoveAllCustomTabsAction : CustomTabListAction
Removes all custom tabs TabSessionStates.
RemoveCustomTabAction data class RemoveCustomTabAction : CustomTabListAction
Removes an existing CustomTabSessionState to BrowserState.customTabs.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.

Inheritors

Name Summary
AddCustomTabAction data class AddCustomTabAction : CustomTabListAction
Adds a new CustomTabSessionState to BrowserState.customTabs.
RemoveAllCustomTabsAction object RemoveAllCustomTabsAction : CustomTabListAction
Removes all custom tabs TabSessionStates.
RemoveCustomTabAction data class RemoveCustomTabAction : CustomTabListAction
Removes an existing CustomTabSessionState to BrowserState.customTabs.