class SealdRecipientWithRights
objc
@interface SealdRecipientWithRights : NSObject
SealdRecipientWithRights represents a recipient with associated rights. Default rights are: read: true, forward: true, revoke: false Default rights for the current user when creating an encryptionSession are read: true, forward: true, revoke: true
Members | Descriptions |
---|---|
recipientId | Internal Seald IDs. Returned for users with sdk.getCurrentAccountInfo , for groups when creating them |
rights | The rights for the associated recipient ID |
initWithRecipientId:rights: | Initialize a SealdRecipientWithRights instance. |
initWithRecipientId: | Initialize a SealdRecipientWithRights instance with the default rights. |
recipientId
objc
@property (strong) NSString * recipientId;
Internal Seald IDs. Returned for users with sdk.getCurrentAccountInfo
, for groups when creating them
rights
objc
@property (strong) SealdRecipientRights * rights;
The rights for the associated recipient ID
initWithRecipientId:rights:
objc
- (instancetype) initWithRecipientId:(NSString *)recipientId
rights:(SealdRecipientRights *_Nullable)rights;
Initialize a SealdRecipientWithRights instance.
Parameters
recipientId
The sealdId of the recipient.rights
The rights for the associated recipient ID.
initWithRecipientId:
objc
- (instancetype) initWithRecipientId:(NSString *)recipientId;
Initialize a SealdRecipientWithRights instance with the default rights.
Parameters
recipientId
The sealdId of the recipient.