[android-components](../../index.md) / [mozilla.components.browser.engine.gecko](../index.md) / [GeckoEngine](index.md) / [createSessionState](./create-session-state.md)

# createSessionState

`fun createSessionState(json: `[`JSONObject`](https://developer.android.com/reference/org/json/JSONObject.html)`): `[`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/GeckoEngine.kt#L64)

Overrides [Engine.createSessionState](../../mozilla.components.concept.engine/-engine/create-session-state.md)

See [Engine.createSessionState](../../mozilla.components.concept.engine/-engine/create-session-state.md).

