Constants

The following constants are available globally.

  • Metadata key for the push notification. Available when an action is triggered from a push notification or user notification action.

    Declaration

    Objective-C

    extern NSString *const _Nonnull UAActionMetadataPushPayloadKey

    Swift

    let UAActionMetadataPushPayloadKey: String
  • Metadata key for the push notification. Available when an action is triggered from a push notification that was presented in the foreground with alert options.

    Declaration

    Objective-C

    extern NSString *const _Nonnull UAActionMetadataForegroundPresentationKey

    Swift

    let UAActionMetadataForegroundPresentationKey: String
  • Metadata key for the inbox message’s identifier. Available when an action is triggered from an inbox message.

    Declaration

    Objective-C

    extern NSString *const _Nonnull UAActionMetadataInboxMessageIDKey

    Swift

    let UAActionMetadataInboxMessageIDKey: String
  • Metadata key for the user notification action identifier. Available when an action is triggered from a user notification action.

    Declaration

    Objective-C

    extern NSString *const _Nonnull UAActionMetadataUserNotificationActionIDKey

    Swift

    let UAActionMetadataUserNotificationActionIDKey: String
  • Metadata key for the user notification action response info. Available when an action is triggered from a user notification action with the behavior UIUserNotificationActionBehaviorTextInput.

    Declaration

    Objective-C

    extern NSString *const _Nonnull UAActionMetadataResponseInfoKey

    Swift

    let UAActionMetadataResponseInfoKey: String
  • Metadata key for the name of the action in the registry. Available when an action is triggered by name.

    Declaration

    Objective-C

    extern NSString *const _Nonnull UAActionMetadataRegisteredName

    Swift

    let UAActionMetadataRegisteredName: String