Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Internal class not pollute code with SDK_INT >= VERSION_CODES.X checks
Link copied to clipboard
HCaptcha Dialog Fragment Class.
Link copied to clipboard
Enum with all possible hCaptcha errors. It contains both errors related to the android sdk instance and js client errors. More info about js client errors here: https://docs.hcaptcha.com/configuration#error-codes
Link copied to clipboard
data class HCaptchaException @JvmOverloads constructor(val hCaptchaError: HCaptchaError, val hCaptchaMessage: String? = null) : Exception
A checked exception which contains an HCaptchaError id and message.
Link copied to clipboard
data class HCaptchaStateListener(val onOpen: () -> Unit, val onSuccess: (token: String) -> Unit, val onFailure: (exception: HCaptchaException) -> Unit) : Parcelable
Link copied to clipboard
Token response which contains the token string to be verified
Link copied to clipboard
hCaptcha client which allows invoking of challenge completion and listening for the result.