[android-components](../../index.md) / [mozilla.components.browser.session.storage](../index.md) / [SessionStorage](index.md) / [restore](./restore.md)

# restore

`@WorkerThread fun restore(): `[`Snapshot`](../../mozilla.components.browser.session/-session-manager/-snapshot/index.md)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/storage/SessionStorage.kt#L42)

Reads the saved state from disk. Returns null if no state was found on disk or if reading the file failed.

