public class NameCallback extends AbstractPromptCallback
prompt_id, content, VALUE| Constructor and Description |
|---|
NameCallback() |
NameCallback(org.json.JSONObject jsonObject,
int index) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType()
Return the type of the Callback, the type name should align with the Callback type returned
from AM
|
void |
setName(java.lang.String name)
Set the retrieved name.
|
getPrompt, setAttributeget_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValuepublic NameCallback(org.json.JSONObject jsonObject,
int index)
public NameCallback()
public void setName(java.lang.String name)
name - the retrieved name (which may be null).public java.lang.String getType()
Callback