DBTEAMLOGDeviceSessionLogInfo

@interface DBTEAMLOGDeviceSessionLogInfo : NSObject <DBSerializable, NSCopying>

The DeviceSessionLogInfo struct.

Device’s session logged information.

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

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

    Declaration

    Objective-C

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

    Swift

    var ipAddress: String? { get }
  • The time this session was created. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDate *created;

    Swift

    var created: Date? { get }
  • The time of the last activity from this session. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDate *updated;

    Swift

    var updated: Date? { get }
  • 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;

    Swift

    init(ipAddress: String?, created: Date?, updated: Date?)

    Parameters

    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.

    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.