[android-components](../../index.md) / [mozilla.components.browser.session](../index.md) / [SessionManager](index.md) / [createSessionSnapshot](./create-session-snapshot.md)

# createSessionSnapshot

`fun createSessionSnapshot(session: `[`Session`](../-session/index.md)`): `[`Item`](-snapshot/-item/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/SessionManager.kt#L86)

Produces a [Snapshot.Item](-snapshot/-item/index.md) of a single [Session](../-session/index.md), suitable for restoring via [SessionManager.restore](restore.md).

