wrap
Wraps a String as an ActionValue.
Return
The ActionValue object.
Parameters
value
The action's value as a string.
Wraps an int as an ActionValue.
Return
The ActionValue object.
Parameters
value
The action's value as an int.
Wraps a long as an ActionValue.
Return
The ActionValue object.
Parameters
value
The action's value as a long.
Wraps a char as an ActionValue.
Return
The ActionValue object.
Parameters
value
The action's value as a char.
Wraps a boolean as an ActionValue.
Return
The ActionValue object.
Parameters
value
The action's value as a boolean.
Wraps a JsonSerializable object as an ActionValue.
Return
The ActionValue object.
Parameters
value
The action's value as a JsonSerializable object.
Wraps a com.urbanairship.json.JsonValue compatible object as an ActionValue.
Return
The ActionValue object.
Parameters
object
The action's value.
Throws
If the object is unable to be wrapped into an action value.