DBTEAMLOGSessionLogInfo

@interface DBTEAMLOGSessionLogInfo : NSObject <DBSerializable, NSCopying>

The SessionLogInfo struct.

Session’s logged information.

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

  • Session ID. Might be missing due to historical data gap.

    Declaration

    Objective-C

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

    Swift

    var sessionId: String? { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSessionId:(nullable NSString *)sessionId;

    Swift

    init(sessionId: String?)

    Parameters

    sessionId

    Session ID. 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.