@ParametersAreNonnullByDefault
Package io.realm.mongodb.sync
-
Interface Summary Interface Description AutomaticClientResetStrategy Interface that defines an automatic sync client reset strategy, it could be eitherDiscardUnsyncedChangesStrategy,RecoverOrDiscardUnsyncedChangesStrategyorRecoverUnsyncedChangesStrategy.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.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.RecoverOrDiscardUnsyncedChangesStrategy Strategy that attempts to automatically recover any unsynced changes during a Client Reset, if the recovery fails the changes would be discarded.RecoverUnsyncedChangesStrategy Strategy that attempts to automatically recover any unsynced changes during a Client Reset.Subscription A subscription defines a specific server query and its metadata.SubscriptionSet A subscription set is an immutable view of all currentSubscriptions 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 eitherManuallyRecoverUnsyncedChangesStrategyorAutomaticClientResetStrategy.SyncConfiguration.InitialFlexibleSyncSubscriptions Interface for configuring the initial set of of subscriptions.SyncSession.ClientResetHandler Deprecated. replaced byManuallyRecoverUnsyncedChangesStrategySyncSession.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 ASyncConfigurationis 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.