DBTEAMLOGMobileDeviceSessionLogInfo

@interface DBTEAMLOGMobileDeviceSessionLogInfo
    : DBTEAMLOGDeviceSessionLogInfo <DBSerializable, NSCopying>

The MobileDeviceSessionLogInfo struct.

Information about linked Dropbox mobile client sessions

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • Mobile session unique id. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        DBTEAMLOGMobileSessionLogInfo *sessionInfo;

    Swift

    var sessionInfo: DBTEAMLOGMobileSessionLogInfo? { get }
  • The device name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull deviceName;

    Swift

    var deviceName: String { get }
  • The mobile application type.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DBTEAMMobileClientPlatform *_Nonnull clientType;

    Swift

    var clientType: DBTEAMMobileClientPlatform { get }
  • The Dropbox client version.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *clientVersion;

    Swift

    var clientVersion: String? { get }
  • The hosting OS version.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *osVersion;

    Swift

    var osVersion: String? { get }
  • last carrier used by the device.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *lastCarrier;

    Swift

    var lastCarrier: String? { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithDeviceName:(nonnull NSString *)deviceName
            clientType:(nonnull DBTEAMMobileClientPlatform *)clientType
             ipAddress:(nullable NSString *)ipAddress
               created:(nullable NSDate *)created
               updated:(nullable NSDate *)updated
           sessionInfo:(nullable DBTEAMLOGMobileSessionLogInfo *)sessionInfo
         clientVersion:(nullable NSString *)clientVersion
             osVersion:(nullable NSString *)osVersion
           lastCarrier:(nullable NSString *)lastCarrier;

    Swift

    init(deviceName: String, clientType: DBTEAMMobileClientPlatform, ipAddress: String?, created: Date?, updated: Date?, sessionInfo: DBTEAMLOGMobileSessionLogInfo?, clientVersion: String?, osVersion: String?, lastCarrier: String?)

    Parameters

    deviceName

    The device name.

    clientType

    The mobile application type.

    ipAddress

    The IP address of the last activity from this session. Might be missing due to historical data gap.

    created

    The time this session was created. Might be missing due to historical data gap.

    updated

    The time of the last activity from this session. Might be missing due to historical data gap.

    sessionInfo

    Mobile session unique id. Might be missing due to historical data gap.

    clientVersion

    The Dropbox client version.

    osVersion

    The hosting OS version.

    lastCarrier

    last carrier used by the device.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithDeviceName:(nonnull NSString *)deviceName
            clientType:(nonnull DBTEAMMobileClientPlatform *)clientType;

    Swift

    init(deviceName: String, clientType: DBTEAMMobileClientPlatform)

    Parameters

    deviceName

    The device name.

    clientType

    The mobile application type.

    Return Value

    An initialized instance.