Skip to content
Snippets Groups Projects
user avatar
MickeyMoz authored
e771ff47
History

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

ContainerAction

sealed class ContainerAction : BrowserAction (source)

BrowserAction implementations related to updating BrowserState.containers

Types

Name Summary
AddContainerAction data class AddContainerAction : ContainerAction
Updates BrowserState.containers to register the given added container.
AddContainersAction data class AddContainersAction : ContainerAction
Updates BrowserState.containers to register the given list of containers.
InitializeContainerState object InitializeContainerState : ContainerAction
Initializes the BrowserState.containers state.
RemoveContainerAction data class RemoveContainerAction : ContainerAction
Removes all state of the removed container from BrowserState.containers.

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
AddContainerAction data class AddContainerAction : ContainerAction
Updates BrowserState.containers to register the given added container.
AddContainersAction data class AddContainersAction : ContainerAction
Updates BrowserState.containers to register the given list of containers.
InitializeContainerState object InitializeContainerState : ContainerAction
Initializes the BrowserState.containers state.
RemoveContainerAction data class RemoveContainerAction : ContainerAction
Removes all state of the removed container from BrowserState.containers.