[android-components](../../index.md) / [mozilla.components.browser.state.action](../index.md) / [ReaderAction](./index.md)

# ReaderAction

`sealed class ReaderAction : `[`BrowserAction`](../-browser-action.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/action/BrowserAction.kt#L409)

[BrowserAction](../-browser-action.md) implementations related to updating the [ReaderState](../../mozilla.components.browser.state.state/-reader-state/index.md) of a single [TabSessionState](../../mozilla.components.browser.state.state/-tab-session-state/index.md) inside
[BrowserState](../../mozilla.components.browser.state.state/-browser-state/index.md).

### Types

| Name | Summary |
|---|---|
| [UpdateReaderActiveAction](-update-reader-active-action/index.md) | `data class UpdateReaderActiveAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.active](../../mozilla.components.browser.state.state/-reader-state/active.md) flag. |
| [UpdateReaderConnectRequiredAction](-update-reader-connect-required-action/index.md) | `data class UpdateReaderConnectRequiredAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.connectRequired](../../mozilla.components.browser.state.state/-reader-state/connect-required.md) flag. |
| [UpdateReaderableAction](-update-readerable-action/index.md) | `data class UpdateReaderableAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.readerable](../../mozilla.components.browser.state.state/-reader-state/readerable.md) flag. |
| [UpdateReaderableCheckRequiredAction](-update-readerable-check-required-action/index.md) | `data class UpdateReaderableCheckRequiredAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.checkRequired](../../mozilla.components.browser.state.state/-reader-state/check-required.md) flag. |

### Extension Functions

| Name | Summary |
|---|---|
| [loadResourceAsString](../../mozilla.components.support.test.file/kotlin.-any/load-resource-as-string.md) | `fun `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`.loadResourceAsString(path: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Loads a file from the resources folder and returns its content as a string object. |

### Inheritors

| Name | Summary |
|---|---|
| [UpdateReaderActiveAction](-update-reader-active-action/index.md) | `data class UpdateReaderActiveAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.active](../../mozilla.components.browser.state.state/-reader-state/active.md) flag. |
| [UpdateReaderConnectRequiredAction](-update-reader-connect-required-action/index.md) | `data class UpdateReaderConnectRequiredAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.connectRequired](../../mozilla.components.browser.state.state/-reader-state/connect-required.md) flag. |
| [UpdateReaderableAction](-update-readerable-action/index.md) | `data class UpdateReaderableAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.readerable](../../mozilla.components.browser.state.state/-reader-state/readerable.md) flag. |
| [UpdateReaderableCheckRequiredAction](-update-readerable-check-required-action/index.md) | `data class UpdateReaderableCheckRequiredAction : `[`ReaderAction`](./index.md)<br>Updates the [ReaderState.checkRequired](../../mozilla.components.browser.state.state/-reader-state/check-required.md) flag. |
