RLMSyncSubscriptionState
enum RLMSyncSubscriptionState : NSInteger {}
RLMSyncSubscriptionState
is an enumeration representing the possible state of a sync subscription.
-
An error occurred while creating the subscription or while the server was processing it.
Declaration
Objective-C
RLMSyncSubscriptionStateError = -1
Swift
case error = -1
-
The subscription is being created, but has not yet been written to the synced Realm.
Declaration
Objective-C
RLMSyncSubscriptionStateCreating = 2
Swift
case creating = 2
-
The subscription has been created, and is waiting to be processed by the server.
Declaration
Objective-C
RLMSyncSubscriptionStatePending = 0
Swift
case pending = 0
-
The subscription has been processed by the server, and objects matching the subscription are now being synchronized to this client.
Declaration
Objective-C
RLMSyncSubscriptionStateComplete = 1
Swift
case complete = 1
-
This subscription has been removed.
Declaration
Objective-C
RLMSyncSubscriptionStateInvalidated = 3
Swift
case invalidated = 3