DBTEAMMemberDevices
Objective-C
@interface DBTEAMMemberDevices : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMMemberDevices : NSObject, DBSerializable, NSCopying
The MemberDevices
struct.
Information on devices of a team’s member.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The member unique Id.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull teamMemberId;
Swift
var teamMemberId: String { get }
-
List of web sessions made by this team member.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<DBTEAMActiveWebSession *> *webSessions;
Swift
var webSessions: [DBTEAMActiveWebSession]? { get }
-
List of desktop clients by this team member.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<DBTEAMDesktopClientSession *> *desktopClients;
Swift
var desktopClients: [DBTEAMDesktopClientSession]? { get }
-
List of mobile clients by this team member.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<DBTEAMMobileClientSession *> *mobileClients;
Swift
var mobileClients: [DBTEAMMobileClientSession]? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithTeamMemberId:(nonnull NSString *)teamMemberId webSessions: (nullable NSArray<DBTEAMActiveWebSession *> *)webSessions desktopClients: (nullable NSArray<DBTEAMDesktopClientSession *> *)desktopClients mobileClients: (nullable NSArray<DBTEAMMobileClientSession *> *)mobileClients;
Swift
init(teamMemberId: String, webSessions: [DBTEAMActiveWebSession]?, desktopClients: [DBTEAMDesktopClientSession]?, mobileClients: [DBTEAMMobileClientSession]?)
Parameters
teamMemberId
The member unique Id.
webSessions
List of web sessions made by this team member.
desktopClients
List of desktop clients by this team member.
mobileClients
List of mobile clients by this team member.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithTeamMemberId:(nonnull NSString *)teamMemberId;
Swift
init(teamMemberId: String)
Parameters
teamMemberId
The member unique Id.
Return Value
An initialized instance.