InAppActionRunner
public protocol InAppActionRunner : Sendable
Action runner for in-app experiences. Must be used in order to properly attribute custom events to the message.
-
run(actionName:Asynchronousarguments: ) Declaration
Swift
@MainActor func run(actionName: String, arguments: ActionArguments) async -> ActionResultParameters
actionNameThe action name.
argumentsThe action arguments.
Return Value
Action result.
-
Runs actions asynchronously.
Declaration
Swift
@MainActor func runAsync(actions: AirshipJSON)Parameters
actionsThe actions payload
-
run(actions:Asynchronous) Declaration
Swift
@MainActor func run(actions: AirshipJSON) asyncParameters
actionsThe actions payload
View on GitHub