RLMSyncPermissionOfferResponse
@interface RLMSyncPermissionOfferResponse : RLMObject
This model is used to apply permission changes defined in the permission offer
object represented by the specified token, which was created by another user’s
RLMSyncPermissionOffer
object.
It should be used in conjunction with an RLMSyncUser
‘s Management Realm.
See https://realm.io/docs/realm-object-server/#permissions for general documentation.
-
The globally unique ID string of this permission offer response object.
Declaration
Objective-C
@property (readonly, atomic) NSString *_Nonnull id;
Swift
var id: UnsafeMutablePointer
-
The date this object was initially created.
Declaration
Objective-C
@property (readonly, atomic) NSDate *_Nonnull createdAt;
Swift
var createdAt: UnsafeMutablePointer
-
The date this object was last modified.
Declaration
Objective-C
@property (readonly, atomic) NSDate *_Nonnull updatedAt;
Swift
var updatedAt: UnsafeMutablePointer
-
The status code of the object that was processed by Realm Object Server.
Declaration
Objective-C
@property (readonly, atomic, nullable) NSNumber<RLMInt> *statusCode;
-
An error or informational message, typically written to by the Realm Object Server.
Declaration
Objective-C
@property (readonly, atomic, nullable) NSString *statusMessage;
Swift
var statusMessage: UnsafeMutablePointer
-
Sync management object status.
Declaration
Objective-C
@property (readonly, atomic) RLMSyncManagementObjectStatus status;
Swift
var status: Int32 { get }
-
The received token which uniquely identifies another user’s
RLMSyncPermissionOffer
.Declaration
Objective-C
@property (readonly, atomic) NSString *_Nonnull token;
Swift
var token: UnsafeMutablePointer
-
The remote URL to the realm on which these permission changes were applied. Generated by the server.
Declaration
Objective-C
@property (readonly, atomic, nullable) NSString *realmUrl;
Swift
var realmUrl: UnsafeMutablePointer
-
Construct a permission offer response object used to apply permission changes defined in the permission offer object represented by the specified token, which was created by another user’s
RLMSyncPermissionOffer
object.Declaration
Objective-C
+ (nonnull instancetype)permissionOfferResponseWithToken: (nonnull NSString *)token;
Swift
convenience init!(token: Any!)
Parameters
token
The received token which uniquely identifies another user’s
RLMSyncPermissionOffer
.