RLMSyncSessionState

enum RLMSyncSessionState : NSUInteger {}

The current state of the session represented by an RLMSyncSession object.

  • The sync session is bound to the Realm Object Server and communicating with it.

    Declaration

    Objective-C

    RLMSyncSessionStateActive

    Swift

    case active = 0
  • The sync session is not currently communicating with the Realm Object Server.

    Declaration

    Objective-C

    RLMSyncSessionStateInactive

    Swift

    case inactive = 1
  • The sync session encountered a fatal error and is permanently invalid; it should be discarded.

    Declaration

    Objective-C

    RLMSyncSessionStateInvalid

    Swift

    case invalid = 2