Class ConfirmationCallback

  • All Implemented Interfaces:
    java.io.Serializable , org.forgerock.android.auth.callback.Callback

    
    public class ConfirmationCallback
    extends AbstractPromptCallback
                        

    Callback to retrieve the selected option from a list of options

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getType() Return the type of the Callback, the type name should align with the Callback type returned from AM
      void setSelectedIndex(int selection) Set the selected choice.
      • Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback

        getContent, getInputValue, getInputValue, get_id
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfirmationCallback

        ConfirmationCallback()
      • ConfirmationCallback

        ConfirmationCallback(JSONObject jsonObject, int index)
    • Method Detail

      • getType

         String getType()

        Return the type of the Callback, the type name should align with the Callback type returned from AM

      • setSelectedIndex

         void setSelectedIndex(int selection)

        Set the selected choice.

        Parameters:
        selection - the selection represented as an index into the options list.