UserActionRequestData

  • UserActionRequestData is a data structure for user action requests in command and command namespace.

  • It provides methods to retrieve custom data, the user action, and the context of the user action.

  • The class also implements the Parcelable interface, allowing it to be written to a Parcel.

public class UserActionRequestData extends Object
implements Parcelable RequestData

Data structure for user action requests in command and command namespace.

Inherited Constant Summary

Public Method Summary

JSONObject
getCustomData()
Returns the custom data.
String
getUserAction()
Returns the user action.
String
getUserActionContext()
Returns the context of user action.
void
writeToParcel(Parcel out, int flags)

Inherited Method Summary

Public Methods

public JSONObject getCustomData ()

Returns the custom data.

public String getUserAction ()

Returns the user action. See UserAction for the full list of actions.

public String getUserActionContext ()

Returns the context of user action. See UserActionContext for the full list of context.

This may return null if unspecified.

public void writeToParcel (Parcel out, int flags)