android-components / mozilla.components.concept.storage / SyncableStore

SyncableStore

interface SyncableStore<AuthInfo> (source)

Describes a "sync" entry point for store which operates over AuthInfo.

Functions

sync

abstract suspend fun sync(authInfo: AuthInfo): SyncStatus

Performs a sync.

Inheritors

PlacesHistoryStorage

open class PlacesHistoryStorage : HistoryStorage, SyncableStore<SyncAuthInfo>

Implementation of the HistoryStorage which is backed by a Rust Places lib via PlacesConnection.

SyncableLoginsStore

data class SyncableLoginsStore : SyncableStore<SyncUnlockInfo>

Wraps AsyncLoginsStorage instance along with a lazy encryption key.