DBTEAMLOGLegacyDeviceSessionLogInfo

Objective-C

@interface DBTEAMLOGLegacyDeviceSessionLogInfo
    : DBTEAMLOGDeviceSessionLogInfo <DBSerializable, NSCopying>

Swift

class DBTEAMLOGLegacyDeviceSessionLogInfo : DBTEAMLOGDeviceSessionLogInfo, DBSerializable, NSCopying

The LegacyDeviceSessionLogInfo struct.

Information on sessions, in legacy format

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

Instance fields

  • Session unique id.

    Declaration

    Objective-C

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

    Swift

    var sessionInfo: DBTEAMLOGSessionLogInfo? { get }
  • The device name. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var displayName: String? { get }
  • Is device managed by emm. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *isEmmManaged;

    Swift

    var isEmmManaged: NSNumber? { get }
  • Information on the hosting platform. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var platform: String? { get }
  • The mac address of the last activity from this session. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var macAddress: String? { get }
  • The hosting OS version. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var osVersion: String? { get }
  • Information on the hosting device type. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var deviceType: String? { get }
  • The Dropbox client version. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var clientVersion: String? { get }
  • Alternative unique device session id, instead of session id field. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var legacyUniqId: String? { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithIpAddress:(nullable NSString *)ipAddress
                  created:(nullable NSDate *)created
                  updated:(nullable NSDate *)updated
              sessionInfo:(nullable DBTEAMLOGSessionLogInfo *)sessionInfo
              displayName:(nullable NSString *)displayName
             isEmmManaged:(nullable NSNumber *)isEmmManaged
                 platform:(nullable NSString *)platform
               macAddress:(nullable NSString *)macAddress
                osVersion:(nullable NSString *)osVersion
               deviceType:(nullable NSString *)deviceType
            clientVersion:(nullable NSString *)clientVersion
             legacyUniqId:(nullable NSString *)legacyUniqId;

    Swift

    init(ipAddress: String?, created: Date?, updated: Date?, sessionInfo: DBTEAMLOGSessionLogInfo?, displayName: String?, isEmmManaged: NSNumber?, platform: String?, macAddress: String?, osVersion: String?, deviceType: String?, clientVersion: String?, legacyUniqId: String?)

    Parameters

    ipAddress

    The IP address of the last activity from this session.

    created

    The time this session was created.

    updated

    The time of the last activity from this session.

    sessionInfo

    Session unique id.

    displayName

    The device name. Might be missing due to historical data gap.

    isEmmManaged

    Is device managed by emm. Might be missing due to historical data gap.

    platform

    Information on the hosting platform. Might be missing due to historical data gap.

    macAddress

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

    osVersion

    The hosting OS version. Might be missing due to historical data gap.

    deviceType

    Information on the hosting device type. Might be missing due to historical data gap.

    clientVersion

    The Dropbox client version. Might be missing due to historical data gap.

    legacyUniqId

    Alternative unique device session id, instead of session id field. Might be missing due to historical data gap.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initDefault;

    Swift

    init(default: ())

    Return Value

    An initialized instance.