Constants

The following constants are available globally.

  • Deprecated

    Use AWSPinpointTargetingSDKVersion instead.

    Undocumented

    Declaration

    Objective-C

    extern double AWSPinpointVersionNumber

    Swift

    var AWSPinpointVersionNumber: Double
  • Deprecated

    Use AWSPinpointTargetingSDKVersion instead.

    Undocumented

    Declaration

    Objective-C

    extern const unsigned char AWSPinpointVersionString[]
  • The maximum number of attributes that can be added to an event.

    Declaration

    Objective-C

    extern const NSInteger AWSPinpointEventMaxNumberOfAttributes

    Swift

    let AWSPinpointEventMaxNumberOfAttributes: Int
  • The maximum number of metrics that can be added to an event.

    Declaration

    Objective-C

    extern const NSInteger AWSPinpointEventMaxNumberOfMetrics

    Swift

    let AWSPinpointEventMaxNumberOfMetrics: Int
  • The maximum length that an attribute or metric key can have.

    Declaration

    Objective-C

    extern const NSInteger AWSPinpointEventMaxAttributeAndMetricKeyLength

    Swift

    let AWSPinpointEventMaxAttributeAndMetricKeyLength: Int
  • The maximum length that an attribute value can have.

    Declaration

    Objective-C

    extern const NSInteger AWSPinpointEventMaxAttributeValueLength

    Swift

    let AWSPinpointEventMaxAttributeValueLength: Int
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString *const AWSPinpointAnalyticsErrorDomain

    Swift

    let AWSPinpointAnalyticsErrorDomain: String
  • When a saveEvent: operation causes the disk size to exceed notificationByteThreshold, it posts AWSPinpointEventByteThresholdReachedNotification.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWSPinpointEventByteThresholdReachedNotification

    Swift

    static let AWSPinpointEventByteThresholdReached: NSNotification.Name
  • You can retrieve the disk bytes used from the notification.userInfo dictionary with this key.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull AWSPinpointEventByteThresholdReachedNotificationDiskBytesUsedKey

    Swift

    let AWSPinpointEventByteThresholdReachedNotificationDiskBytesUsedKey: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const AWSDeviceTokenKey

    Swift

    let AWSDeviceTokenKey: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const AWSDataKey

    Swift

    let AWSDataKey: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const AWSPinpointKey

    Swift

    let AWSPinpointKey: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const AWSPinpointCampaignKey

    Swift

    let AWSPinpointCampaignKey: String
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString * const AWSPinpointJourneyKey

    Swift

    let AWSPinpointJourneyKey: String
  • Deprecated

    Use AWSPinpointTargetingSDKVersion instead.

    Undocumented

    Declaration

    Objective-C

    extern double AWSPinpointTargetingVersionNumber

    Swift

    var AWSPinpointTargetingVersionNumber: Double
  • Deprecated

    Use AWSPinpointTargetingSDKVersion instead.

    Undocumented

    Declaration

    Objective-C

    extern const unsigned char AWSPinpointTargetingVersionString[]
  • Undocumented

    Declaration

    Objective-C

    FOUNDATION_EXPORT NSString *const AWSPinpointTargetingErrorDomain

    Swift

    let AWSPinpointTargetingErrorDomain: String
  • Undocumented

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWSPinpointTargetingSDKVersion

    Swift

    let AWSPinpointTargetingSDKVersion: String