RecaptchaBase

public static class RecaptchaBase 

Entry point for RecaptchaBase services.

Summary

Public fields

static @ NonNull RecaptchaBase

Public methods

static final @ NonNull RecaptchaBaseClient
getClient (@ NonNull Activity  activity)

Creates a new instance of RecaptchaBaseClient .

static final @ NonNull RecaptchaBaseClient
getClient (@ NonNull Context  context)

Creates a new instance of RecaptchaBaseClient .

Public fields

INSTANCE

public static @ NonNull 
 RecaptchaBase 
 INSTANCE 

Public methods

getClient

public static final @ NonNull 
 RecaptchaBaseClient 
 getClient 
(@ NonNull 
 Activity 
 activity)

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
@ NonNull Activity  activity

The activity that is using this client.

getClient

public static final @ NonNull 
 RecaptchaBaseClient 
 getClient 
(@ NonNull 
 Context 
 context)

Creates a new instance of RecaptchaBaseClient .

Parameters
@ NonNull Context  context

The context that is using this client.

Create a Mobile Website
View Site in Mobile | Classic
Share by: