DBTEAMDeviceSessionArg
Objective-C
@interface DBTEAMDeviceSessionArg : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMDeviceSessionArg : NSObject, DBSerializable, NSCopying
The DeviceSessionArg struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The session id.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull sessionId;Swift
var sessionId: String { get } -
The unique id of the member owning the device.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull teamMemberId;Swift
var teamMemberId: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithSessionId:(nonnull NSString *)sessionId teamMemberId:(nonnull NSString *)teamMemberId;Swift
init(sessionId: String, teamMemberId: String)Parameters
sessionIdThe session id.
teamMemberIdThe unique id of the member owning the device.
Return Value
An initialized instance.
View on GitHub
DBTEAMDeviceSessionArg Class Reference