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

SyncableStore

interface SyncableStore (source)

Describes a “sync” entry point for a storage layer.

Functions

Name Summary
getHandle abstract fun getHandle(): Long
This should be removed. See: https://github.com/mozilla/application-services/issues/1877
sync abstract suspend fun sync(authInfo: SyncAuthInfo): SyncStatus
Performs a sync.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.

Inheritors

Name Summary
LockableStore interface LockableStore : SyncableStore
An extension of SyncableStore that can be locked/unlocked using an encryption key.
PlacesBookmarksStorage open class PlacesBookmarksStorage : PlacesStorage, BookmarksStorage, SyncableStore
Implementation of the BookmarksStorage which is backed by a Rust Places lib via PlacesApi.
PlacesHistoryStorage open class PlacesHistoryStorage : PlacesStorage, HistoryStorage, SyncableStore
Implementation of the HistoryStorage which is backed by a Rust Places lib via PlacesApi.
PlacesStorage abstract class PlacesStorage : Storage, SyncableStore
A base class for concrete implementations of PlacesStorages