HCaptchaError

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

Entries

Link copied to clipboard

Internet connection is missing.

Link copied to clipboard

Invalid data is not accepted by endpoints.

Link copied to clipboard

User may need to select the checkbox or if invisible programmatically call execute to initiate the challenge again.

Link copied to clipboard

User may need to select the checkbox or if invisible programmatically call execute to initiate the challenge again.

Link copied to clipboard

hCaptcha challenge expired

Link copied to clipboard

hCaptcha token expired

Link copied to clipboard

User closed the challenge by pressing back button or touching the outside of the dialog.

Link copied to clipboard

Rate limited due to too many tries.

Link copied to clipboard

Invalid custom theme

Link copied to clipboard

Insecure HTTP request intercepted

Link copied to clipboard

Generic error for unknown situations - should never happen.

Types

Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.