android-components / mozilla.components.browser.session.storage / DefaultSessionStorage / persist

# persist

`@Synchronized fun persist(sessionManager: SessionManager): Boolean` (source)

Overrides SessionStorage.persist

Persists the session state of the provided SessionManager.

### Parameters

`sessionManager` - the session manager to persist from.

Return
true if the state was persisted, otherwise false.