Enumerations
The following enumerations are available globally.
-
RLMPropertyType
is an enumeration describing all property types supported in Realm models.For more information, see Realm Models.
See moreDeclaration
Objective-C
enum RLMPropertyType {}
Swift
@frozen enum RLMPropertyType : Int32
-
See moreRLMError
is an enumeration representing all recoverable errors. It is associated with the Realm error domain specified inRLMErrorDomain
.Declaration
Objective-C
enum RLMError {}
Swift
typealias RLMError.Code._ErrorType = RLMError
-
An enum representing different levels of sync-related logging that can be configured.
See moreDeclaration
Objective-C
enum RLMSyncLogLevel {}
Swift
@frozen enum RLMSyncLogLevel : UInt
-
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 moreDeclaration
Objective-C
enum RLMSyncAccessLevel {}
Swift
@frozen enum RLMSyncAccessLevel : UInt
-
The current state of the session represented by a session object.
See moreDeclaration
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 moreDeclaration
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 moreDeclaration
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 moreDeclaration
Objective-C
enum RLMSyncProgressMode {}
Swift
enum RLMSyncProgressMode : UInt
-
See moreRLMSyncSubscriptionState
is an enumeration representing the possible state of a sync subscription.Declaration
Objective-C
enum RLMSyncSubscriptionState {}
Swift
@frozen enum RLMSyncSubscriptionState : Int
-
The state of the user object.
See moreDeclaration
Objective-C
enum RLMSyncUserState {}
Swift
enum RLMSyncUserState : 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 moreDeclaration
Objective-C
enum RLMSyncError {}
Swift
typealias RLMSyncError.Code._ErrorType = RLMSyncError
-
An error which is related to authentication to a Realm Object Server.
See moreDeclaration
Objective-C
enum RLMSyncAuthError {}
Swift
typealias RLMSyncAuthError.Code._ErrorType = RLMSyncAuthError