RecaptchaBase

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.