RLMSyncConnectionState
enum RLMSyncConnectionState {}
The current state of a sync session’s connection. Sessions which are not in the Active state will always be Disconnected.
-
The sync session is not connected to the server, and is not attempting to connect, either because the session is inactive or because it is waiting to retry after a failed connection.
Declaration
Objective-C
RLMSyncConnectionStateDisconnected
Swift
case disconnected = 0
-
The sync session is attempting to connect to the Realm Object Server.
Declaration
Objective-C
RLMSyncConnectionStateConnecting
Swift
case connecting = 1
-
The sync session is currently connected to the Realm Object Server.
Declaration
Objective-C
RLMSyncConnectionStateConnected
Swift
case connected = 2