Class TermsAndConditionsCallback

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

    
    public class TermsAndConditionsCallback
    extends AbstractCallback
                        

    A callback to collect a user's acceptance of the configured Terms &Conditions.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void setAccept(boolean accept) Sets whether the Terms have been accepted.
      String getType() Return the type of the Callback, the type name should align with the Callback type returned from AM
      • 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

      • TermsAndConditionsCallback

        TermsAndConditionsCallback(JSONObject raw, int index)
      • TermsAndConditionsCallback

        TermsAndConditionsCallback()
    • Method Detail

      • setAccept

         void setAccept(boolean accept)

        Sets whether the Terms have been accepted.

        Parameters:
        accept - boolean representing the acceptance of the terms.
      • getType

         String getType()

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