Enums

The following enums are available globally.

  • An enum representing different levels of sync-related logging that can be configured.

    See more

    Declaration

    Objective-C

    enum RLMSyncLogLevel : NSUInteger {}

    Swift

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

    See more

    Declaration

    Objective-C

    enum RLMSyncSessionState : NSUInteger {}

    Swift

    enum RLMSyncSessionState : 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 : NSUInteger {}

    Swift

    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 : NSUInteger {}

    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 : NSInteger {}

    Swift

    typealias _ErrorType = RLMSyncError
  • An error which is related to authentication to a Realm Object Server.

    See more

    Declaration

    Objective-C

    enum RLMSyncAuthError : NSInteger {}

    Swift

    typealias _ErrorType = RLMSyncAuthError
  • An error related to the permissions subsystem.

    See more

    Declaration

    Objective-C

    enum RLMSyncPermissionError : NSInteger {}

    Swift

    typealias _ErrorType = RLMSyncPermissionError
  • Access levels which can be granted to Realm Mobile Platform users for specific synchronized Realms, using the permissions APIs.

    Note that each access level guarantees all allowed actions provided by less permissive access levels. Specifically, users with write access to a Realm can always read from that Realm, and users with administrative access can always read or write from the Realm.

    See more

    Declaration

    Objective-C

    enum RLMSyncAccessLevel : NSUInteger {}