Class DeviceProfileCallback
- java.lang.Object
-
- org.forgerock.android.auth.callback.AbstractCallback
-
- org.forgerock.android.auth.callback.DeviceProfileCallback
-
- All Implemented Interfaces:
java.io.Serializable,ActionCallback,Callback
public class DeviceProfileCallback extends AbstractCallback implements ActionCallback
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.forgerock.android.auth.callback.AbstractCallback
_id, content, VALUE
-
-
Constructor Summary
Constructors Constructor Description DeviceProfileCallback()DeviceProfileCallback(org.json.JSONObject jsonObject, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(android.content.Context context, FRListener<java.lang.Void> listener)java.lang.StringgetMessage()The message which should be displayed to the userjava.lang.StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AMbooleanisLocation()Request the SDK to capture device location.booleanisMetadata()Request the SDK to capture device metadata.protected voidsetAttribute(java.lang.String name, java.lang.Object value)voidsetValue(java.lang.String value)-
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValue
-
-
-
-
Method Detail
-
setAttribute
protected void setAttribute(java.lang.String name, java.lang.Object value)- Specified by:
setAttributein classAbstractCallback
-
setValue
public void setValue(java.lang.String value)
-
execute
public void execute(android.content.Context context, FRListener<java.lang.Void> listener)- Specified by:
executein interfaceActionCallback
-
getType
public java.lang.String getType()
Description copied from interface:CallbackReturn the type of the Callback, the type name should align with the Callback type returned from AM
-
isMetadata
public boolean isMetadata()
Request the SDK to capture device metadata.
-
isLocation
public boolean isLocation()
Request the SDK to capture device location.
-
getMessage
public java.lang.String getMessage()
The message which should be displayed to the user
-
-