AWSPinpointTargetingEvent

Objective-C

@interface AWSPinpointTargetingEvent

Swift

class AWSPinpointTargetingEvent

Specifies information about an event that reports data to Amazon Pinpoint.

Required parameters: [EventType, Timestamp]

  • The package name of the app that’s recording the event.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable appPackageName;

    Swift

    var appPackageName: String? { get set }
  • The title of the app that’s recording the event.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable appTitle;

    Swift

    var appTitle: String? { get set }
  • The version number of the app that’s recording the event.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable appVersionCode;

    Swift

    var appVersionCode: String? { get set }
  • One or more custom attributes that are associated with the event.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable attributes;

    Swift

    var attributes: [String : String]? { get set }
  • The version of the SDK that’s running on the client device.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable clientSdkVersion;

    Swift

    var clientSdkVersion: String? { get set }
  • The name of the event.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable eventType;

    Swift

    var eventType: String? { get set }
  • One or more custom metrics that are associated with the event.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSNumber *> *_Nullable metrics;

    Swift

    var metrics: [String : NSNumber]? { get set }
  • The name of the SDK that’s being used to record the event.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable sdkName;

    Swift

    var sdkName: String? { get set }
  • Information about the session in which the event occurred.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSPinpointTargetingSession *_Nullable session;

    Swift

    var session: AWSPinpointTargetingSession? { get set }
  • The date and time, in ISO 8601 format, when the event occurred.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable timestamp;

    Swift

    var timestamp: String? { get set }