android-components / mozilla.components.browser.session.ext / readSnapshotItem

readSnapshotItem

fun <ERROR CLASS>.readSnapshotItem(engine: Engine, restoreSessionId: Boolean = true, restoreParentId: Boolean = true, serializer: SnapshotSerializer = SnapshotSerializer(restoreSessionId, restoreParentId)): Item? (source)

Reads a single SessionManager.Snapshot.Item from this AtomicFile. Returns null if no snapshot item could be read.