DBTEAMLOGDesktopDeviceSessionLogInfo

@interface 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. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var sessionInfo: DBTEAMLOGDesktopSessionLogInfo? { get }
  • Name of the hosting desktop.

    Declaration

    Objective-C

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

    Swift

    var hostName: String { get }
  • The Dropbox desktop client type.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var clientVersion: String? { get }
  • Information on the hosting platform.

    Declaration

    Objective-C

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

    Swift

    var platform: String { get }
  • Whether itu2019s possible to delete all of the account files upon unlinking.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSNumber *_Nonnull isDeleteOnUnlinkSupported;

    Swift

    var isDeleteOnUnlinkSupported: NSNumber { get }
  • 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. 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

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

    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.