ActionArguments
public struct ActionArguments : Sendable
Contains the arguments passed into an action during execution.
-
Metadata key for the user notification action identifier. Available when an action is triggered from a user notification action. The ID will be a String.
Declaration
Swift
public static let userNotificationActionIDMetadataKey: String -
Metadata key for the push notification. Available when an action is triggered from a push notification or user notification action. The payload will be an
AirshipJSON.Declaration
Swift
public static let pushPayloadJSONMetadataKey: String -
Metadata key for the inbox message’s identifier. Available when an action is triggered from an inbox message. The ID will be a String.
Declaration
Swift
public static let inboxMessageIDMetadataKey: String -
Metadata key for the user notification action response info text. Available when an action is triggered from a user notification action with the behavior
UIUserNotificationActionBehaviorTextInput.Declaration
Swift
public static let responseInfoMetadataKey: String -
The action argument’s value
Declaration
Swift
public var value: AirshipJSON -
The action argument’s situation
Declaration
Swift
public var situation: ActionSituation -
The action argument’s metadata
Declaration
Swift
public var metadata: [String : any Sendable]
View on GitHub