java.lang.Object | ||
↳ | com.urbanairship.actions.Action | |
↳ | com.urbanairship.actions.AddCustomEventAction |
An action that adds a custom event.
Accepted situations: all
Accepted argument value - A map of fields for the custom event:
EVENT_NAME
: String, RequiredEVENT_VALUE
: number as a String or NumberTRANSACTION_ID
: StringINTERACTION_ID
: StringINTERACTION_TYPE
: StringPROPERTIES
: JsonMap of Strings, Booleans, Numbers, or arrays of Strings
Result value: null
Default Registration Name: add_custom_event_action
Default Registration Predicate: Rejects SITUATION_PUSH_RECEIVED
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | AddCustomEventAction.AddCustomEventActionPredicate | Default AddCustomEventAction predicate. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_REGISTRY_NAME | Default registry name |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.actions.Action
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AddCustomEventAction() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
acceptsArguments(ActionArguments arguments)
Called before an action is performed to determine if the
the action can accept the arguments.
| ||||||||||
ActionResult |
perform(ActionArguments arguments)
Performs the action.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.urbanairship.actions.Action
| |||||||||||
From class
java.lang.Object
|
Default registry name
Called before an action is performed to determine if the the action can accept the arguments.
arguments | The action arguments. |
---|
true
if the action can perform with the arguments,
otherwise false
.
Performs the action.
arguments | The action arguments. |
---|