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.

Instance fields

Constructors

  • 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.