bundleLifetime - The lifetime of a bundle controls whether a bundle will be restored or whether this bundle is
considered expired and a new bundle will be used.
A Session storage implementation that saves snapshots as a SessionBundle.
Automatically clears the current bundle and starts a new bundle if the lifetime has expired while the app was in the background.
Starts configuring automatic saving of the state.
Returns the last saved SessionBundle instances (up to limit) as a LiveData list.
Returns all saved SessionBundle instances as a DataSource.Factory.
Returns the currently used SessionBundle for saving SessionManager.Snapshot instances. Or null if no bundle is in use currently.
Clear the currently used, active SessionBundle and use a new one the next time a SessionManager.Snapshot is saved.
Removes the given SessionBundle permanently. If this is the active bundle then a new one will be created the next time a SessionManager.Snapshot is saved.
Removes all saved SessionBundle instances permanently.
Restores the last SessionBundle if there is one without expired lifetime.
Saves the SessionManager.Snapshot as a bundle. If a bundle was restored previously then this bundle will be updated with the data from the snapshot. If no bundle was restored a new bundle will be created.
Explicitly uses the given SessionBundle (even if not active) to save SessionManager.Snapshot instances to.