-
- All Implemented Interfaces:
-
java.io.Serializable,org.forgerock.android.auth.callback.Callback
public class ChoiceCallback extends AbstractPromptCallback
Callback to retrieve the selected choice(s) from a list of choices
-
-
Constructor Summary
Constructors Constructor Description ChoiceCallback(JSONObject jsonObject, int index)
-
Method Summary
Modifier and Type Method Description voidsetSelectedIndex(int selection)Set the selected choice. StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AM -
-
Constructor Detail
-
ChoiceCallback
ChoiceCallback(JSONObject jsonObject, int index)
-
-
Method Detail
-
setSelectedIndex
void setSelectedIndex(int selection)
Set the selected choice.
- Parameters:
selection- the selection represented as an index into thechoiceslist.
-
-
-
-