Inherits from UAAction : NSObject
Declared in UAAddCustomEventAction.h

Overview

An action that adds a custom event.

This action is registered under the name “add_custom_event_action”.

Expected argument values: A dictionary of keys 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.

Valid situations: UASituationForegroundPush, UASituationLaunchedFromPush, UASituationWebViewInvocation, UASituationManualInvocation, UASituationBackgroundPush, UASituationForegroundInteractiveButton, and UASituationBackgroundInteractiveButton

Result value: nil

Fetch result: UAActionFetchResultNoData

Default predicate: Only accepts UASituationWebViewInvocation and UASituationManualInvocation