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

readSnapshot

fun <ERROR CLASS>.readSnapshot(engine: Engine, serializer: SnapshotSerializer = SnapshotSerializer()): Snapshot? (source)

Read a SessionManager.Snapshot from this AtomicFile. Returns null if no snapshot could be read.