DBTEAMLOGDesktopDeviceSessionLogInfo
Objective-C
@interface DBTEAMLOGDesktopDeviceSessionLogInfo
: DBTEAMLOGDeviceSessionLogInfo <DBSerializable, NSCopying>
Swift
class DBTEAMLOGDesktopDeviceSessionLogInfo : DBTEAMLOGDeviceSessionLogInfo, DBSerializable, NSCopying
The DesktopDeviceSessionLogInfo
struct.
Information about linked Dropbox desktop client sessions
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Desktop session unique id.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGDesktopSessionLogInfo *sessionInfo;
Swift
var sessionInfo: DBTEAMLOGDesktopSessionLogInfo? { get }
-
Name of the hosting desktop.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull hostName;
Swift
var hostName: String { get }
-
The Dropbox desktop client type.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMDesktopPlatform *_Nonnull clientType;
Swift
var clientType: DBTEAMDesktopPlatform { get }
-
The Dropbox client version.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *clientVersion;
Swift
var clientVersion: String? { get }
-
Information on the hosting platform.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull platform;
Swift
var platform: String { get }
-
Whether itu2019s possible to delete all of the account files upon unlinking.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull isDeleteOnUnlinkSupported;
Swift
var isDeleteOnUnlinkSupported: NSNumber { get }
-
-initWithHostName:
clientType: platform: isDeleteOnUnlinkSupported: ipAddress: created: updated: sessionInfo: clientVersion: Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithHostName:(nonnull NSString *)hostName clientType:(nonnull DBTEAMDesktopPlatform *)clientType platform:(nonnull NSString *)platform isDeleteOnUnlinkSupported:(nonnull NSNumber *)isDeleteOnUnlinkSupported ipAddress:(nullable NSString *)ipAddress created:(nullable NSDate *)created updated:(nullable NSDate *)updated sessionInfo: (nullable DBTEAMLOGDesktopSessionLogInfo *)sessionInfo clientVersion:(nullable NSString *)clientVersion;
Swift
init(hostName: String, clientType: DBTEAMDesktopPlatform, platform: String, isDeleteOnUnlinkSupported: NSNumber, ipAddress: String?, created: Date?, updated: Date?, sessionInfo: DBTEAMLOGDesktopSessionLogInfo?, clientVersion: String?)
Parameters
hostName
Name of the hosting desktop.
clientType
The Dropbox desktop client type.
platform
Information on the hosting platform.
isDeleteOnUnlinkSupported
Whether itu2019s possible to delete all of the account files upon unlinking.
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
Desktop session unique id.
clientVersion
The Dropbox client version.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithHostName:(nonnull NSString *)hostName clientType:(nonnull DBTEAMDesktopPlatform *)clientType platform:(nonnull NSString *)platform isDeleteOnUnlinkSupported:(nonnull NSNumber *)isDeleteOnUnlinkSupported;
Swift
init(hostName: String, clientType: DBTEAMDesktopPlatform, platform: String, isDeleteOnUnlinkSupported: NSNumber)
Parameters
hostName
Name of the hosting desktop.
clientType
The Dropbox desktop client type.
platform
Information on the hosting platform.
isDeleteOnUnlinkSupported
Whether itu2019s possible to delete all of the account files upon unlinking.
Return Value
An initialized instance.