class SealdRecipientRights
objc
@interface SealdRecipientRights : NSObject
SealdRecipientRights represents the rights a user can have over an encrypted message or an encryption session.
Members | Descriptions |
---|---|
read | The right to read the message |
forward | The right to forward the message to another user |
revoke | The right to revoke another user from a message, or to remove rights from them |
initWithRead:forward:revoke: | Initialize a SealdRecipientRights instance. |
initWithDefaultRights |
read
objc
@property (assign) BOOL read;
The right to read the message
forward
objc
@property (assign) BOOL forward;
The right to forward the message to another user
revoke
objc
@property (assign) BOOL revoke;
The right to revoke another user from a message, or to remove rights from them
initWithRead:forward:revoke:
objc
- (instancetype) initWithRead:(BOOL)read
forward:(BOOL)forward
revoke:(BOOL)revoke;
Initialize a SealdRecipientRights instance.
Parameters
read
Set the right to read the message.forward
Set the right to forward the message to another user.revoke
Set the right to revoke another user from a message, or to remove rights from them.
initWithDefaultRights
objc
- (instancetype) initWithDefaultRights;