Actions (e.g., login) intended to be protected by reCAPTCHA. An instance of this object
should be passed to execute(RecaptchaHandle, RecaptchaAction)
.
Inherited Constant Summary
Field Summary
public static final Creator < RecaptchaAction > | CREATOR |
Public Constructor Summary
* | |
* | |
* | |
* | RecaptchaAction
( String
customAction, Bundle
additionalArgs)
Creates a
RecaptchaAction
instance with a custom action in the form of a String and additional arguments. |
Public Method Summary
RecaptchaActionType | |
Bundle | |
String | |
String | |
String | |
void |
Inherited Method Summary
Fields
public static final Creator < RecaptchaAction > CREATOR
Public Constructors
public RecaptchaAction ( RecaptchaActionType action)
Creates a RecaptchaAction
instance with a predefined reCAPTCHA action.
public RecaptchaAction ( RecaptchaActionType action, Bundle additionalArgs)
Creates a RecaptchaAction
instance with a predefined reCAPTCHA action and additional arguments.
public RecaptchaAction ( String customAction)
Creates a RecaptchaAction
instance with a custom action String.
public RecaptchaAction ( String customAction, Bundle additionalArgs)
Creates a RecaptchaAction
instance with a custom action in the form of a String and additional arguments.
Public Methods
public RecaptchaActionType getAction ()
Gets RecaptchaActionType
.
public Bundle getAdditionalArgs ()
Gets the additional arg map specified by this action.
public String getCustomAction ()
Gets custom action that user inputs.
public String getVerificationHistoryToken ()
Gets the verification history token specified by this action.
public String toString ()
Gets the String value of RecaptchaAction
.