Enumerations

The following enumerations are available globally.

RLMBSONType

Enums

  • RLMPropertyType is an enumeration describing all property types supported in Realm models.

    For more information, see Realm Models.

    See more

    Declaration

    Objective-C

    enum RLMPropertyType {}

    Swift

    @frozen enum RLMPropertyType : Int32
  • RLMError is an enumeration representing all recoverable errors. It is associated with the Realm error domain specified in RLMErrorDomain.

    See more

    Declaration

    Objective-C

    enum RLMError {}

    Swift

    typealias RLMError.Code._ErrorType = RLMError
  • Allowed HTTP methods to be used with RLMNetworkTransport.

    See more

    Declaration

    Objective-C

    enum RLMHTTPMethod {}

    Swift

    @frozen enum RLMHTTPMethod : Int32
  • An enum representing different levels of sync-related logging that can be configured.

    See more

    Declaration

    Objective-C

    enum RLMSyncLogLevel {}

    Swift

    @frozen enum RLMSyncLogLevel : UInt
  • The current state of the session represented by a session object.

    See more

    Declaration

    Objective-C

    enum RLMSyncSessionState {}

    Swift

    enum RLMSyncSessionState : UInt
  • The current state of a sync session’s connection. Sessions which are not in the Active state will always be Disconnected.

    See more

    Declaration

    Objective-C

    enum RLMSyncConnectionState {}

    Swift

    enum RLMSyncConnectionState : UInt
  • The transfer direction (upload or download) tracked by a given progress notification block.

    Progress notification blocks can be registered on sessions if your app wishes to be informed how many bytes have been uploaded or downloaded, for example to show progress indicator UIs.

    See more

    Declaration

    Objective-C

    enum RLMSyncProgressDirection {}

    Swift

    @frozen enum RLMSyncProgressDirection : UInt
  • The desired behavior of a progress notification block.

    Progress notification blocks can be registered on sessions if your app wishes to be informed how many bytes have been uploaded or downloaded, for example to show progress indicator UIs.

    See more

    Declaration

    Objective-C

    enum RLMSyncProgressMode {}

    Swift

    enum RLMSyncProgressMode : UInt
  • An error related to a problem that might be reported by the synchronization manager error handler, or a callback on a sync-related API that performs asynchronous work.

    See more

    Declaration

    Objective-C

    enum RLMSyncError {}

    Swift

    typealias RLMSyncError.Code._ErrorType = RLMSyncError
  • An error which is related to authentication to MongoDB Realm.

    See more

    Declaration

    Objective-C

    enum RLMSyncAuthError {}

    Swift

    typealias RLMSyncAuthError.Code._ErrorType = RLMSyncAuthError
  • An error which is related to authentication to MongoDB Realm.

    See more

    Declaration

    Objective-C

    enum RLMAppError {}

    Swift

    typealias RLMAppError.Code._ErrorType = RLMAppError
  • The state of the user object.

    See more

    Declaration

    Objective-C

    enum RLMUserState {}

    Swift

    enum RLMUserState : UInt