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


interface SyncableStore (source)

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


Name Summary
getHandle abstract fun getHandle(): Long
This should be removed. See:

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.


Name Summary
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
RemoteTabsStorage open class RemoteTabsStorage : Storage, SyncableStore
An interface which defines read/write methods for remote tabs data.
SyncableLoginsStorage class SyncableLoginsStorage : LoginsStorage, SyncableStore, AutoCloseable
An implementation of LoginsStorage backed by application-services’ logins library. Synchronization support is provided both directly (via sync) when only syncing this storage layer, or via getHandle when syncing multiple stores. Use the latter in conjunction with FxaAccountManager.