RLMSyncSessionState
enum RLMSyncSessionState : NSUInteger {}
The current state of a sync session object.
-
The sync session is valid, but has not yet been bound to the Realm Object Server.
Declaration
Objective-C
RLMSyncSessionStateUnbound
Swift
case unbound = 0
-
The sync session is bound to the Realm Object Server and communicating with it.
Declaration
Objective-C
RLMSyncSessionStateActive
Swift
case active = 1
-
The sync session is logged out, but could be rebound to the Realm Object Server.
Declaration
Objective-C
RLMSyncSessionStateLoggedOut
Swift
case loggedOut = 2
-
The sync session encountered an error and is invalid; it should be discarded.
Declaration
Objective-C
RLMSyncSessionStateInvalid
Swift
case invalid = 3