RLMSyncSessionState

enum RLMSyncSessionState {}

The current state of the session represented by a session object.

  • The sync session is actively communicating or attempting to communicate with the Realm Object Server. 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

    RLMSyncSessionStateActive
  • The sync session is not attempting to communicate with the Realm Object Server, due to the user logging out or synchronization being paused.

    Declaration

    Objective-C

    RLMSyncSessionStateInactive
  • The sync session encountered a fatal error and is permanently invalid; it should be discarded.

    Declaration

    Objective-C

    RLMSyncSessionStateInvalid