{% setvar book_path %}/android/reference/kotlin/_book.yaml{% endsetvar %} {% include "/android/_dackka-meta-tags.html" %}

RecaptchaBase

{% setvar page_path %}com/google/android/gms/recaptchabase/RecaptchaBase.html{% endsetvar %} {% setvar doc_root_path %}/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

object RecaptchaBase


Entry point for RecaptchaBase services.

Summary

Public functions

RecaptchaBaseClient
getClient(activity: Activity)

Creates a new instance of RecaptchaBaseClient.

RecaptchaBaseClient
getClient(context: Context)

Creates a new instance of RecaptchaBaseClient.

Public functions

getClient

fun getClient(activity: Activity): RecaptchaBaseClient

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

Parameters
activity: Activity

The activity that is using this client.

getClient

fun getClient(context: Context): RecaptchaBaseClient

Creates a new instance of RecaptchaBaseClient.

Parameters
context: Context

The context that is using this client.