Types

Link copied to clipboard

Functions

Link copied to clipboard

Add a failure listener triggered when the task finishes with an exception

Link copied to clipboard

Add a hCaptcha open listener triggered when the hCaptcha View is displayed

Link copied to clipboard

Add a success listener triggered when the task finishes successfully

Link copied to clipboard

Remove all listeners: success, failure and open listeners

Link copied to clipboard

Remove a failure listener

Link copied to clipboard

Remove a open listener

Link copied to clipboard
Link copied to clipboard
open override fun reset()

Force stop verification and release resources.

Link copied to clipboard
open override fun setup(config: HCaptchaConfig): HCaptcha

Constructs a new client which allows to display a challenge dialog

Link copied to clipboard
open override fun verifyWithHCaptcha(): HCaptcha

Presents a captcha challenge. Depending on the configuration passed in setup, this will be either a passive challenge or a dialog to be completed by the user.