[android-components](../../index.md) / [mozilla.components.browser.engine.gecko](../index.md) / [GeckoEngineSession](index.md) / [restoreState](./restore-state.md)

# restoreState

`fun restoreState(state: `[`EngineSessionState`](../../mozilla.components.concept.engine/-engine-session-state/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-gecko-beta/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt#L156)

Overrides [EngineSession.restoreState](../../mozilla.components.concept.engine/-engine-session/restore-state.md)

See [EngineSession.restoreState](../../mozilla.components.concept.engine/-engine-session/restore-state.md)

