DBSHARINGFileMemberActionResult
Objective-C
@interface DBSHARINGFileMemberActionResult
: NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGFileMemberActionResult : NSObject, DBSerializable, NSCopying
The FileMemberActionResult
struct.
Per-member result for addFileMember
.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
One of specified input members.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGMemberSelector *_Nonnull member;
Swift
var member: DBSHARINGMemberSelector { get }
-
The outcome of the action on this member.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGFileMemberActionIndividualResult *_Nonnull result;
Swift
var result: DBSHARINGFileMemberActionIndividualResult { get }
-
The SHA-1 encrypted shared content key.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *sckeySha1;
Swift
var sckeySha1: String? { get }
-
The sharing sender-recipient invitation signatures for the input member_id. A member_id can be a group and thus have multiple users and multiple invitation signatures.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<NSString *> *invitationSignature;
Swift
var invitationSignature: [String]? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithMember:(nonnull DBSHARINGMemberSelector *)member result: (nonnull DBSHARINGFileMemberActionIndividualResult *)result sckeySha1:(nullable NSString *)sckeySha1 invitationSignature:(nullable NSArray<NSString *> *)invitationSignature;
Swift
init(member: DBSHARINGMemberSelector, result: DBSHARINGFileMemberActionIndividualResult, sckeySha1: String?, invitationSignature: [String]?)
Parameters
member
One of specified input members.
result
The outcome of the action on this member.
sckeySha1
The SHA-1 encrypted shared content key.
invitationSignature
The sharing sender-recipient invitation signatures for the input member_id. A member_id can be a group and thus have multiple users and multiple invitation signatures.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithMember:(nonnull DBSHARINGMemberSelector *)member result:(nonnull DBSHARINGFileMemberActionIndividualResult *)result;
Swift
init(member: DBSHARINGMemberSelector, result: DBSHARINGFileMemberActionIndividualResult)
Parameters
member
One of specified input members.
result
The outcome of the action on this member.
Return Value
An initialized instance.