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

EngineAction

sealed class EngineAction : BrowserAction (source)

BrowserAction implementations related to updating the EngineState of a single SessionState inside BrowserState.

Types

Name Summary
LinkEngineSessionAction data class LinkEngineSessionAction : EngineAction
Attaches the provided EngineSession to the session with the provided sessionId.
UnlinkEngineSessionAction data class UnlinkEngineSessionAction : EngineAction
Detaches the current EngineSession from the session with the provided sessionId.
UpdateEngineSessionStateAction data class UpdateEngineSessionStateAction : EngineAction
Updates the EngineSessionState of the session with the provided sessionId.

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
LinkEngineSessionAction data class LinkEngineSessionAction : EngineAction
Attaches the provided EngineSession to the session with the provided sessionId.
UnlinkEngineSessionAction data class UnlinkEngineSessionAction : EngineAction
Detaches the current EngineSession from the session with the provided sessionId.
UpdateEngineSessionStateAction data class UpdateEngineSessionStateAction : EngineAction
Updates the EngineSessionState of the session with the provided sessionId.