Skip to content

class SealdRecipientRights

objc
@interface SealdRecipientRights : NSObject
@interface SealdRecipientRights : NSObject

SealdRecipientRights represents the rights a user can have over an encrypted message or an encryption session.

MembersDescriptions
readThe right to read the message
forwardThe right to forward the message to another user
revokeThe right to revoke another user from a message, or to remove rights from them
initWithRead:forward:revoke:Initialize a SealdRecipientRights instance.

read

objc
@property (assign) BOOL read;
@property (assign) BOOL read;

The right to read the message

forward

objc
@property (assign) BOOL forward;
@property (assign) BOOL forward;

The right to forward the message to another user

revoke

objc
@property (assign) BOOL revoke;
@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;
- (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.