com.google.android.gms.recaptcha
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
User interaction that needs to be verified while
the user is performing the workflow you would like to protect.
Interfaces
The main entry point for interacting with the
reCAPTCHA API.
Classes
Recaptcha
|
The reCAPTCHA API provides access to Google Cloud
services that help you protect your app from spam and other abusive actions. |
RecaptchaAction
|
Actions (e.g., login) intended to be protected by
reCAPTCHA. |
RecaptchaActionType
|
Collection of predefined actions used by
RecaptchaHandle. |
RecaptchaHandle
|
Information pertaining to reCAPTCHA handle, which
is used to identify the initialized reCAPTCHA service. |
RecaptchaOptionalObject
<T> |
Class for wrapping an optional object (i.e., an
immutable object that may contain a non-null reference to another object) to be used in VerificationResult
. |
RecaptchaResultData
|
Information pertaining to reCAPTCHA result
data. |
RecaptchaStatusCodes
|
Status codes for the reCAPTCHA API. |
VerificationHandle
|
Stores the information required to verify an
account. |
VerificationResult
|
Immmutable object to hold the result of a
verification operation. |
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe reCAPTCHA API helps protect your app from spam and abusive actions by providing access to Google Cloud services.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecaptchaClient\u003c/code\u003e is the primary entry point for interacting with the reCAPTCHA API.\u003c/p\u003e\n"],["\u003cp\u003eThe API includes functionality for defining actions to be protected, managing reCAPTCHA handles, and verifying user interactions.\u003c/p\u003e\n"],["\u003cp\u003eResults and status codes are provided through dedicated classes for easy integration and error handling.\u003c/p\u003e\n"],["\u003cp\u003ePotential exceptions, such as network issues or server errors, are handled via specific exception classes like \u003ccode\u003eHttpStatusException\u003c/code\u003e and \u003ccode\u003eRecaptchaNetworkException\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# com.google.android.gms.recaptcha\n\n### Annotations\n\n|--------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|\n| [RecaptchaActionType.Action](/android/reference/com/google/android/gms/recaptcha/RecaptchaActionType.Action) | User interaction that needs to be verified while the user is performing the workflow you would like to protect. |\n\n### Interfaces\n\n|----------------------------------------------------------------------------------------|--------------------------------------------------------------|\n| [RecaptchaClient](/android/reference/com/google/android/gms/recaptcha/RecaptchaClient) | The main entry point for interacting with the reCAPTCHA API. |\n\n### Classes\n\n|-------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Recaptcha](/android/reference/com/google/android/gms/recaptcha/Recaptcha) | The reCAPTCHA API provides access to Google Cloud services that help you protect your app from spam and other abusive actions. |\n| [RecaptchaAction](/android/reference/com/google/android/gms/recaptcha/RecaptchaAction) | Actions (e.g., login) intended to be protected by reCAPTCHA. |\n| [RecaptchaActionType](/android/reference/com/google/android/gms/recaptcha/RecaptchaActionType) | Collection of predefined actions used by RecaptchaHandle. |\n| [RecaptchaHandle](/android/reference/com/google/android/gms/recaptcha/RecaptchaHandle) | Information pertaining to reCAPTCHA handle, which is used to identify the initialized reCAPTCHA service. |\n| [RecaptchaOptionalObject](/android/reference/com/google/android/gms/recaptcha/RecaptchaOptionalObject)\\\u003cT\\\u003e | Class for wrapping an optional object (i.e., an immutable object that may contain a non-null reference to another object) to be used in [VerificationResult](/android/reference/com/google/android/gms/recaptcha/VerificationResult). |\n| [RecaptchaResultData](/android/reference/com/google/android/gms/recaptcha/RecaptchaResultData) | Information pertaining to reCAPTCHA result data. |\n| [RecaptchaStatusCodes](/android/reference/com/google/android/gms/recaptcha/RecaptchaStatusCodes) | Status codes for the reCAPTCHA API. |\n| [VerificationHandle](/android/reference/com/google/android/gms/recaptcha/VerificationHandle) | Stores the information required to verify an account. |\n| [VerificationResult](/android/reference/com/google/android/gms/recaptcha/VerificationResult) | Immmutable object to hold the result of a verification operation. |\n\n### Exceptions\n\n|------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| [HttpStatusException](/android/reference/com/google/android/gms/recaptcha/HttpStatusException) | Exception thrown when the server returns a non-200 response code. |\n| [RecaptchaNetworkException](/android/reference/com/google/android/gms/recaptcha/RecaptchaNetworkException) | Exception thrown when the mobile client fails to connect to the reCAPTCHA server. |"]]