public class DeviceProfileCallback extends AbstractCallback implements ActionCallback
_id, content, VALUE| Constructor and Description |
|---|
DeviceProfileCallback() |
DeviceProfileCallback(org.json.JSONObject jsonObject,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(android.content.Context context,
FRListener<java.lang.Void> listener) |
java.lang.String |
getMessage()
The message which should be displayed to the user
|
java.lang.String |
getType()
Return the type of the Callback, the type name should align with the Callback type returned
from AM
|
boolean |
isLocation()
Request the SDK to capture device location.
|
boolean |
isMetadata()
Request the SDK to capture device metadata.
|
protected void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setValue(java.lang.String value) |
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValuepublic DeviceProfileCallback(org.json.JSONObject jsonObject,
int index)
public DeviceProfileCallback()
protected void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class AbstractCallbackpublic void setValue(java.lang.String value)
public void execute(android.content.Context context,
FRListener<java.lang.Void> listener)
execute in interface ActionCallbackpublic java.lang.String getType()
Callbackpublic boolean isMetadata()
public boolean isLocation()
public java.lang.String getMessage()