@ParametersAreNonnullByDefault
Package io.realm.mongodb.sync
-
Interface Summary Interface Description ConnectionListener Interface used when reporting changes that happened to the connection used by the session.DiscardUnsyncedChangesStrategy Strategy that automatically resolves a Client Reset by discarding any unsynced data, but otherwise keep the Realm open.ManuallyRecoverUnsyncedChangesStrategy Strategy to manually resolve a Client Reset, determined by the error codeErrorCode.CLIENT_RESET
.MutableSubscriptionSet A mutable subscription set is available when callingSubscriptionSet.update(UpdateCallback)
This is the only way to modify aSubscriptionSet
.ProgressListener Interface used when interested in updates on data either being uploaded to or downloaded from a Realm Object Server.Subscription A subscription defines a specific server query and its metadata.SubscriptionSet A subscription set is an immutable view of all currentSubscription
s for a given Realm that has been configured for flexible sync.SubscriptionSet.StateChangeCallback Callback used when asynchronously waiting for the server to process the subscription set.SubscriptionSet.UpdateAsyncCallback Callback used when asynchronously updating a subscription set.SubscriptionSet.UpdateCallback Interface used when modifying a subscription set.SyncClientResetStrategy Interface that defines a generic sync client reset strategy, it could be eitherManuallyRecoverUnsyncedChangesStrategy
orDiscardUnsyncedChangesStrategy
.SyncConfiguration.InitialFlexibleSyncSubscriptions Interface for configuring the initial set of of subscriptions.SyncSession.ClientResetHandler Deprecated. replaced byManuallyRecoverUnsyncedChangesStrategy
SyncSession.ErrorHandler Interface used to report any session errors. -
Class Summary Class Description Progress Class used to encapsulate progress notifications when either downloading or uploading Realm data.Sync A sync manager handling synchronization of local Realms with remote Realm Apps.Sync.Debug Debugging related options.SyncConfiguration ASyncConfiguration
is used to setup a Realm Database that can be synchronized between devices using MongoDB Realm.SyncConfiguration.Builder Builder used to construct instances of a SyncConfiguration in a fluent manner.SyncSession A session controls how data is synchronized between a single Realm on the device and the server Realm on the Realm Object Server. -
Enum Summary Enum Description ConnectionState Enum describing the states of the underlying connection used by aSyncSession
.ProgressMode Enum describing how to listen to progress changes.SubscriptionSet.State The possible states a subscription set can be in.SyncSession.State Enum describing the states a SyncSession can be in. -
Exception Summary Exception Description ClientResetRequiredError Class encapsulating information needed for handling a Client Reset event.