Class ReCaptchaCallback

    • Constructor Detail

      • ReCaptchaCallback

        public ReCaptchaCallback​(org.json.JSONObject raw,
                                 int index)
        Constructor that creates a ReCaptchaCallback.
      • ReCaptchaCallback

        public ReCaptchaCallback()
    • Method Detail

      • setAttribute

        protected void setAttribute​(java.lang.String name,
                                    java.lang.Object value)
        Specified by:
        setAttribute in class AbstractCallback
      • proceed

        public void proceed​(android.content.Context context,
                            FRListener<java.lang.Void> listener)
        Proceed to trigger the ReCAPTCHA
        Parameters:
        context - The Application Context
        listener - Listener to lister for ReCAPTCHA result event.
      • getType

        public java.lang.String getType()
        Description copied from interface: Callback
        Return the type of the Callback, the type name should align with the Callback type returned from AM
      • getReCaptchaSiteKey

        public java.lang.String getReCaptchaSiteKey()
        Retrieves the specified site key.
        Returns:
        the site key.