DBTEAMLOGDeviceSessionLogInfo
Objective-C
@interface DBTEAMLOGDeviceSessionLogInfo : NSObject <DBSerializable, NSCopying>
Swift
class 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.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *ipAddress;Swift
var ipAddress: String? { get } -
The time this session was created.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSDate *created;Swift
var created: Date? { get } -
The time of the last activity from this session.
Declaration
Objective-C
@property (nonatomic, readonly, 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
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.
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.
View on GitHub
DBTEAMLOGDeviceSessionLogInfo Class Reference