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

# saveState

`fun saveState(): `[`EngineSessionState`](../../mozilla.components.concept.engine/-engine-session-state/index.md) [(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#L195)

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

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

