[android-components](../index.md) / [mozilla.components.browser.session.ext](index.md) / [toReaderState](./to-reader-state.md)

# toReaderState

`fun `[`Session`](../mozilla.components.browser.session/-session/index.md)`.toReaderState(): `[`ReaderState`](../mozilla.components.browser.state.state/-reader-state/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/ext/SessionExtensions.kt#L53)

Creates a matching [ReaderState](../mozilla.components.browser.state.state/-reader-state/index.md) from a [Session](../mozilla.components.browser.session/-session/index.md)

