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 |
|---|---|
JSONObject |
toJsonObject() |
@NonNull protected final Action.Type type
Action.Type of action@Nullable protected java.lang.String label
public Action(@NonNull
Action.Type type,
@Nullable
java.lang.String label)
public Action(@NonNull
Action.Type type)
@NonNull
public JSONObject toJsonObject()
throws JSONException
toJsonObject in interface JsonableJSONException