android-components / mozilla.components.concept.sync

Package mozilla.components.concept.sync

Types

Name Summary
AccessTokenInfo data class AccessTokenInfo
The result of authentication with FxA via an OAuth flow.
AccountObserver interface AccountObserver
Observer interface which lets its users monitor account state changes and major events.
AuthExceptionType enum class AuthExceptionType
An auth-related exception type, for use with AuthException.
Avatar data class Avatar
ConstellationState data class ConstellationState
Describes current device and other devices in the constellation.
Device data class Device
Describes a device in the DeviceConstellation.
DeviceCapability enum class DeviceCapability
Capabilities that a Device may have.
DeviceConstellation interface DeviceConstellation : Observable<DeviceEventsObserver>
Describes available interactions with the current device and other devices associated with an OAuthAccount.
DeviceConstellationObserver interface DeviceConstellationObserver
Allows monitoring constellation state.
DeviceEvent sealed class DeviceEvent
Incoming device events, targeted at the current device.
DeviceEventOutgoing sealed class DeviceEventOutgoing
Outgoing device events, targeted at other devices.
DeviceEventsObserver interface DeviceEventsObserver
Allows monitoring events targeted at the current device.
DevicePushSubscription data class DevicePushSubscription
Describes an Autopush-compatible push channel subscription.
DeviceType enum class DeviceType
Describes a type of the physical device in the constellation.
OAuthAccount interface OAuthAccount : AutoCloseable
Facilitates testing consumers of FirefoxAccount.
OAuthScopedKey data class OAuthScopedKey
Scoped key data.
Profile data class Profile
StatePersistenceCallback interface StatePersistenceCallback
Describes a delegate object that is used by OAuthAccount to persist its internal state as it changes.
StoreSyncStatus data class StoreSyncStatus
SyncAuthInfo data class SyncAuthInfo
A Firefox Sync friendly auth object which can be obtained from OAuthAccount.
SyncStatus sealed class SyncStatus
Results of running a sync via SyncableStore.sync.
SyncableStore interface SyncableStore
Describes a “sync” entry point for a storage layer.
TabData data class TabData

Exceptions

Name Summary
AuthException class AuthException : Throwable
An exception which may happen while obtaining auth information using OAuthAccount.

Type Aliases

Name Summary
SyncResult typealias SyncResult = Map<String, StoreSyncStatus>
A set of results of running a sync operation for multiple instances of SyncableStore.