Class AbstractCallback
-
- All Implemented Interfaces:
-
java.io.Serializable,org.forgerock.android.auth.callback.Callback
public abstract class AbstractCallback implements Callback
Abstract Callback that provides the raw content of the Callback, and allow sub classes to access Callback's input and output
-
-
Constructor Summary
Constructors Constructor Description AbstractCallback()AbstractCallback(JSONObject raw, int index)
-
Method Summary
Modifier and Type Method Description ObjectgetInputValue()Get the first value for input ObjectgetInputValue(int index)Get the value for input StringgetContent()Get the callback content intget_id()Get the _id received from server -
-
Constructor Detail
-
AbstractCallback
AbstractCallback()
-
AbstractCallback
AbstractCallback(JSONObject raw, int index)
-
-
Method Detail
-
getInputValue
Object getInputValue()
Get the first value for input
-
getInputValue
Object getInputValue(int index)
Get the value for input
- Parameters:
index- The index of the element.
-
getContent
String getContent()
Get the callback content
-
get_id
int get_id()
Get the _id received from server
-
-
-
-