Page Summary
-
RecaptchaActionType is a collection of predefined actions used by RecaptchaHandle.
-
It includes predefined constants for common actions like LOGIN and SIGNUP.
-
A nested interface, Action, is defined for user interactions needing verification.
-
The class also includes a CREATOR field for Parcelable implementation and a constructor to create an instance with a specified action string.
-
It provides a
writeToParcelmethod for serialization.
Collection of predefined actions used by RecaptchaHandle.
Nested Class Summary
| @interface | RecaptchaActionType.Action | User interaction that needs to be verified while the user is performing the workflow you would like to protect. | |
Constant Summary
| String | LOGIN | Indicates that the protected action is a login workflow. |
| String | OTHER | When a custom action is specified, reCAPTCHA uses this value automatically. |
| String | SIGNUP | Indicates that the protected action is a signup workflow. |
Inherited Constant Summary
Field Summary
| public static final Creator<RecaptchaActionType> | CREATOR |
Public Constructor Summary
|
RecaptchaActionType(String action)
|
Public Method Summary
| void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Constants
public static final String LOGIN
Indicates that the protected action is a login workflow.
public static final String OTHER
When a custom action is specified, reCAPTCHA uses this value automatically.
public static final String SIGNUP
Indicates that the protected action is a signup workflow.