java.lang.Object | |
↳ | com.urbanairship.actions.ActionArguments |
Container for the argument data passed to an Action
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACTION_SCHEDULE_ID_METADATA | Metadata attached to action arguments when running scheduled actions from Action Automation. | |||||||||
String | PUSH_MESSAGE_METADATA | Metadata attached to action arguments when running actions from a push message. | |||||||||
String | REGISTRY_ACTION_NAME_METADATA | Metadata attached to action arguments when triggering an action from by name. | |||||||||
String | REMOTE_INPUT_METADATA | Metadata attached to action argument when running actions from a NotificationActionButton
with LocalizableRemoteInput . |
|||||||||
String | RICH_PUSH_ID_METADATA | Metadata when running an action from the JavaScript interface with an associated RichPushMessage. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ActionArguments(int situation, ActionValue value, Bundle metadata)
Constructs ActionArguments.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Bundle |
getMetadata()
Gets the metadata for the action arguments.
| ||||||||||
int |
getSituation()
Retrieves the situation.
| ||||||||||
ActionValue |
getValue()
Retrieves the argument value.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Metadata attached to action arguments when running scheduled actions from Action Automation.
Metadata attached to action arguments when running actions from a push message.
The value is stored as a PushMessage
.
Metadata attached to action arguments when triggering an action from by name. The value is stored as a String.
Metadata attached to action argument when running actions from a NotificationActionButton
with LocalizableRemoteInput
.
Metadata when running an action from the JavaScript interface with an associated RichPushMessage. The value is stored as a String.
Constructs ActionArguments.
situation | The situation. |
---|---|
value | The argument's value. |
metadata | The argument's metadata. |
Gets the metadata for the action arguments. Metadata provides additional information about the calling environment.
Retrieves the situation.