Google is committed to advancing racial equity for Black communities. See how.

RecaptchaActionType

public final class RecaptchaActionType extends Object
implements Parcelable

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

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.

Constant Value: "login"

public static final String OTHER

When a custom action is specified, reCAPTCHA uses this value automatically.

Constant Value: "other"

public static final String SIGNUP

Indicates that the protected action is a signup workflow.

Constant Value: "signup"

Fields

public static final Creator<RecaptchaActionType> CREATOR

Public Constructors

public RecaptchaActionType (String action)

Public Methods

public void writeToParcel (Parcel out, int flags)