AddCustomEventAction

An action that adds a custom event.

Accepted situations: all

Accepted argument value - A map of fields for the custom event:

When a custom event action is triggered from a Message Center Rich Push Message, the interaction type and ID will automatically be filled for the message if they are left blank.

Result value: null

Default Registration Name: add_custom_event_action

Default Registration Predicate: Rejects SITUATION_PUSH_RECEIVED

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val DEFAULT_REGISTRY_NAME: String = "add_custom_event_action"
Default registry name
Link copied to clipboard
val IN_APP_CONTEXT_METADATA_KEY: String = "in_app_metadata"

Inherited properties

Link copied to clipboard
Situation where an action is triggered from Action Automation.
Situation where an action is triggered from a background notification action button.
Situation where an action is triggered from a foreground notification action button.
Link copied to clipboard
Situation where an action is manually invoked.
Link copied to clipboard
Situation where an action is triggered when a push is opened.
Link copied to clipboard
Situation where an action is triggered when a push is received.
Link copied to clipboard
Situation where an action is triggered from a web view.

Functions

Link copied to clipboard
Called before an action is performed to determine if the the action can accept the arguments.
Link copied to clipboard
Performs the action.

Inherited functions

Link copied to clipboard
open fun onFinish(@NonNull arguments: ActionArguments, @NonNull result: ActionResult)
Called after the action performs.
Link copied to clipboard
open fun onStart(@NonNull arguments: ActionArguments)
Called before an action is performed.
Link copied to clipboard
Determines which thread runs the action.