public abstract class Action extends java.lang.Object implements Jsonable
| Modifier and Type | Class and Description |
|---|---|
static class |
Action.Type |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
label
Label for the action
|
protected Action.Type |
type
Required. indicate
Action.Type of action |
| Constructor and Description |
|---|
Action(Action.Type type) |
Action(Action.Type type,
java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
toJsonObject() |
protected final Action.Type type
Action.Type of actionprotected java.lang.String label
public Action(Action.Type type, java.lang.String label)
public Action(Action.Type type)
public org.json.JSONObject toJsonObject()
throws org.json.JSONException
toJsonObject in interface Jsonableorg.json.JSONException