AWSPinpointSession

@interface AWSPinpointSession : NSObject <NSCoding, 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 (readonly, strong, nonatomic) NSDate *_Nonnull startTime;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var sessionId: String { get }