DBTEAMDeviceSessionArg

@interface 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 (readonly, copy, nonatomic) NSString *_Nonnull sessionId;

    Swift

    var sessionId: String { get }
  • The unique id of the member owning the device.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) 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

    sessionId

    The session id.

    teamMemberId

    The unique id of the member owning the device.

    Return Value

    An initialized instance.