Skip to content

class SealdSealdRecipient

objc
@interface SealdSealdRecipient : NSObject

SealdSealdRecipient holds information about a Seald recipient.

MembersDescriptions
sealdIdThe Seald ID of the user.
addedByIdThe ID of the user who created this access
readFirstTime of the first access to the session.
readLastTime of the last access to the session.
readTimeNumber of access to the session.
rightsThe rights for the access
initWithSealdId:addedById:readFirst:readLast:readTime:rights:
fromMobileSdk:
fromMobileSdkArray:

sealdId

objc
@property (strong) NSString * sealdId;

The Seald ID of the user.

addedById

objc
@property (strong) NSString * addedById;

The ID of the user who created this access

readFirst

objc
@property (strong) NSDate * readFirst;

Time of the first access to the session.

readLast

objc
@property (strong) NSDate * readLast;

Time of the last access to the session.

readTime

objc
@property (assign) NSInteger readTime;

Number of access to the session.

rights

objc
@property (strong) SealdRecipientRights * rights;

The rights for the access

initWithSealdId:addedById:readFirst:readLast:readTime:rights:

objc
- (instancetype) initWithSealdId:(NSString *)sealdId
                       addedById:(NSString *)addedById
                       readFirst:(NSDate *)readFirst
                        readLast:(NSDate *)readLast
                        readTime:(NSInteger)readTime
                          rights:(SealdRecipientRights *)rights;

fromMobileSdk:

objc
+ (instancetype) fromMobileSdk:(SealdSdkInternalsMobile_sdkSealdRecipient *)d;

fromMobileSdkArray:

objc
+ (NSArray< SealdSealdRecipient * > *) fromMobileSdkArray:(SealdSdkInternalsMobile_sdkRecipientsList *)nativeList;