DBTEAMLOGMobileDeviceSessionLogInfo
Objective-C
@interface DBTEAMLOGMobileDeviceSessionLogInfo
: DBTEAMLOGDeviceSessionLogInfo <DBSerializable, NSCopying>
Swift
class 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.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGMobileSessionLogInfo *sessionInfo;Swift
var sessionInfo: DBTEAMLOGMobileSessionLogInfo? { get } -
The device name.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull deviceName;Swift
var deviceName: String { get } -
The mobile application type.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMMobileClientPlatform *_Nonnull clientType;Swift
var clientType: DBTEAMMobileClientPlatform { get } -
The Dropbox client version.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *clientVersion;Swift
var clientVersion: String? { get } -
The hosting OS version.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *osVersion;Swift
var osVersion: String? { get } -
last carrier used by the device.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *lastCarrier;Swift
var lastCarrier: String? { get }
-
-initWithDeviceName:clientType: ipAddress: created: updated: sessionInfo: clientVersion: osVersion: lastCarrier: 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
deviceNameThe device name.
clientTypeThe mobile application type.
ipAddressThe IP address of the last activity from this session.
createdThe time this session was created.
updatedThe time of the last activity from this session.
sessionInfoMobile session unique id.
clientVersionThe Dropbox client version.
osVersionThe hosting OS version.
lastCarrierlast 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
deviceNameThe device name.
clientTypeThe mobile application type.
Return Value
An initialized instance.
View on GitHub
DBTEAMLOGMobileDeviceSessionLogInfo Class Reference