Enumerations
The following enumerations are available globally.
-
Allowed BSON types.
See moreDeclaration
Objective-C
enum RLMBSONType : NSUInteger {}
Swift
enum RLMBSONType : UInt, @unchecked Sendable
-
RLMPropertyType
is an enumeration describing all property types supported in Realm models.For more information, see Realm Models.
See moreDeclaration
Objective-C
enum RLMPropertyType : int32_t {}
Swift
@_nonSendable(_assumed) @frozen enum RLMPropertyType : Int32, @unchecked Sendable
-
RLMAnyValueType
is an enumeration describing all property types supported by RLMValue (AnyRealmValue).For more information, see Realm Models.
See moreDeclaration
Objective-C
enum RLMAnyValueType : int32_t {}
Swift
@_nonSendable(_assumed) @frozen enum RLMAnyValueType : Int32, @unchecked Sendable
-
See moreRLMError
is an enumeration representing all recoverable errors. It is associated with the Realm error domain specified inRLMErrorDomain
.Declaration
Objective-C
enum RLMError : NSInteger {}
Swift
typealias RLMError.Code._ErrorType = RLMError
-
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 : NSInteger {}
Swift
typealias RLMSyncError.Code._ErrorType = RLMSyncError
-
An error which occurred when making a request to Atlas App Services.
See moreDeclaration
Objective-C
enum RLMAppError : NSInteger {}
Swift
typealias RLMAppError.Code._ErrorType = RLMAppError
-
An enum representing different levels of sync-related logging that can be configured.
See moreDeclaration
Objective-C
enum RLMLogLevel : NSUInteger {}
Swift
@frozen enum LogLevel : UInt, @unchecked Sendable
-
Allowed HTTP methods to be used with
See moreRLMNetworkTransport
.Declaration
Objective-C
enum RLMHTTPMethod : int32_t {}
Swift
@_nonSendable(_assumed) @frozen enum RLMHTTPMethod : Int32, @unchecked Sendable
-
Determines wait for download behavior when subscribing on RLMResults.
See
[RLMResults subscribeWithName:waitForSync:onQueue:completion:]
Declaration
Objective-C
enum RLMWaitForSyncMode : NSUInteger {}
Swift
@_nonSendable(_assumed) enum WaitForSyncMode : UInt, @unchecked Sendable
-
Determines file behavior during a client reset.
@see: https://docs.mongodb.com/realm/sync/error-handling/client-resets/
See moreDeclaration
Objective-C
enum RLMClientResetMode : NSUInteger {}
Swift
@_nonSendable(_assumed) enum RLMClientResetMode : UInt, @unchecked Sendable
-
An enum representing different levels of sync-related logging that can be configured.
See moreDeclaration
Objective-C
enum RLMSyncLogLevel : NSUInteger {}
Swift
@_nonSendable(_assumed) @frozen enum RLMSyncLogLevel : UInt, @unchecked Sendable
-
The current state of the session represented by a session object.
See moreDeclaration
Objective-C
enum RLMSyncSessionState : NSUInteger {}
Swift
enum RLMSyncSessionState : UInt, @unchecked Sendable
-
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 : NSUInteger {}
Swift
enum RLMSyncConnectionState : UInt, @unchecked Sendable
-
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 : NSUInteger {}
Swift
@frozen enum RLMSyncProgressDirection : UInt, @unchecked Sendable
-
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 : NSUInteger {}
Swift
enum RLMSyncProgressMode : UInt, @unchecked Sendable
-
The current state of the subscription. This can be used for ensuring that the subscriptions are not errored and that it has been successfully synced to the server.
See moreDeclaration
Objective-C
enum RLMSyncSubscriptionState : NSUInteger {}
Swift
enum RLMSyncSubscriptionState : UInt, @unchecked Sendable
-
The state of the user object.
See moreDeclaration
Objective-C
enum RLMUserState : NSUInteger {}
Swift
enum RLMUserState : UInt, @unchecked Sendable