android-components / mozilla.components.browser.session.storage / SessionStorage / read

# read

`abstract fun read(engine: Engine): SessionsSnapshot?` (source)

Returns the latest persisted sessions snapshot that may be used to read sessions. Resulting SessionsSnapshot may be restored via SessionManager.restore.

### Parameters

`engine` - the engine for which to read the snapshot.

Return
snapshot of sessions to read, or null if it's empty or couldn't be read.