android-components / mozilla.components.browser.session / SessionManager / createSnapshot

# createSnapshot

`fun createSnapshot(): SessionsSnapshot?` (source)

Produces a snapshot of this manager's state, suitable for restoring via SessionManager.restore. Only regular sessions are included in the snapshot. Private and Custom Tab sessions are omitted.

Return
SessionsSnapshot or null if no sessions are present.