AWSPinpointSession

Objective-C

@interface AWSPinpointSession : NSObject <NSSecureCoding, NSCopying>

Swift

class AWSPinpointSession : NSObject, NSSecureCoding, NSCopying

The session object needs that the session client keeps track of, the session information is added to each event recorded.

  • The start timestamp is populated when the client start the session.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSDate *_Nonnull startTime;

    Swift

    var startTime: Date { get }
  • The stop timestamp is polated when the client stops the session.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSDate *_Nonnull stopTime;

    Swift

    var stopTime: Date { get }
  • The session id is populated when the client creates a new session.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull sessionId;

    Swift

    var sessionId: String { get }