RLMSyncSessionState
Objective-C
enum RLMSyncSessionState : NSUInteger {}
Swift
enum RLMSyncSessionState : UInt, @unchecked Sendable
The current state of the session represented by a session object.
-
The sync session is actively communicating or attempting to communicate with Atlas App Services. A session is considered Active even if it is not currently connected. Check the connection state instead if you wish to know if the connection is currently online.
Declaration
Objective-C
RLMSyncSessionStateActiveSwift
case active = 0 -
The sync session is not attempting to communicate with MongoDB Realm due to the user logging out or synchronization being paused.
Declaration
Objective-C
RLMSyncSessionStateInactiveSwift
case inactive = 1 -
The sync session encountered a fatal error and is permanently invalid; it should be discarded.
Declaration
Objective-C
RLMSyncSessionStateInvalidSwift
case invalid = 2
View on GitHub
Install in Dash