DBTEAMLOGDeviceUnlinkDetails

Objective-C

@interface DBTEAMLOGDeviceUnlinkDetails : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGDeviceUnlinkDetails : NSObject, DBSerializable, NSCopying

The DeviceUnlinkDetails struct.

Disconnected device.

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 }
  • True if the user requested to delete data after device unlink, false otherwise.

    Declaration

    Objective-C

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

    Swift

    var deleteData: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithDeleteData:(nonnull NSNumber *)deleteData
               sessionInfo:(nullable DBTEAMLOGSessionLogInfo *)sessionInfo
               displayName:(nullable NSString *)displayName;

    Swift

    init(deleteData: NSNumber, sessionInfo: DBTEAMLOGSessionLogInfo?, displayName: String?)

    Parameters

    deleteData

    True if the user requested to delete data after device unlink, false otherwise.

    sessionInfo

    Session unique id.

    displayName

    The device name. 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)initWithDeleteData:(nonnull NSNumber *)deleteData;

    Swift

    init(deleteData: NSNumber)

    Parameters

    deleteData

    True if the user requested to delete data after device unlink, false otherwise.

    Return Value

    An initialized instance.