Class NameCallback
- java.lang.Object
-
- org.forgerock.android.auth.callback.AbstractCallback
-
- org.forgerock.android.auth.callback.AbstractPromptCallback
-
- org.forgerock.android.auth.callback.NameCallback
-
- All Implemented Interfaces:
java.io.Serializable,Callback
public class NameCallback extends AbstractPromptCallback
Callback to collect a username- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.forgerock.android.auth.callback.AbstractPromptCallback
prompt
-
Fields inherited from class org.forgerock.android.auth.callback.AbstractCallback
_id, content, VALUE
-
-
Constructor Summary
Constructors Constructor Description NameCallback()NameCallback(org.json.JSONObject jsonObject, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AMvoidsetName(java.lang.String name)Set the retrieved name.-
Methods inherited from class org.forgerock.android.auth.callback.AbstractPromptCallback
getPrompt, setAttribute
-
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValue
-
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the retrieved name.- Parameters:
name- the retrieved name (which may be null).
-
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
-
-