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

ReaderAction

sealed class ReaderAction : BrowserAction (source)

BrowserAction implementations related to updating the ReaderState of a single TabSessionState inside BrowserState.

Types

Name Summary
UpdateReaderActiveAction data class UpdateReaderActiveAction : ReaderAction
Updates the ReaderState.active flag.
UpdateReaderableAction data class UpdateReaderableAction : ReaderAction
Updates the ReaderState.readerable flag.

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
UpdateReaderActiveAction data class UpdateReaderActiveAction : ReaderAction
Updates the ReaderState.active flag.
UpdateReaderableAction data class UpdateReaderableAction : ReaderAction
Updates the ReaderState.readerable flag.