RecaptchaBase

Kotlin|Java

public static classRecaptchaBase


Entry point for RecaptchaBase services.

Summary

Public fields

static @NonNullRecaptchaBase

Public methods

static final @NonNullRecaptchaBaseClient

Creates a new instance ofRecaptchaBaseClient.

static final @NonNullRecaptchaBaseClient

Creates a new instance ofRecaptchaBaseClient.

Public fields

INSTANCE

public static @NonNullRecaptchaBase INSTANCE

Public methods

getClient

public static final @NonNullRecaptchaBaseClient getClient(@NonNullActivity activity)

Creates a new instance ofRecaptchaBaseClient. A dialog may appear when the provided activity is in the foreground and services such as Google Play services needs to be updated.

Parameters
@NonNullActivity activity

The activity that is using this client.

getClient

public static final @NonNullRecaptchaBaseClient getClient(@NonNullContext context)

Creates a new instance ofRecaptchaBaseClient.

Parameters
@NonNullContext context

The context that is using this client.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.