HumanSecurity

Human Security main class. You should interact with it in order to set up and start the SDK.

Properties

Link copied to clipboard

Account Defender object.

Link copied to clipboard

Bot Defender object.

Functions

Link copied to clipboard

Returns the current SDK version.

Link copied to clipboard
fun setupWebView(webView: WebView, webViewClient: WebViewClient?)

Set up the web view to be synced with the SDK. Do not set a web view client to the web view after calling this function. If you wish to set a web view client, call this function again with the new web view client. This function enables JavaScript in the web view's settings. Do not change this setting.

Link copied to clipboard
fun start(application: Application, appIds: ArrayList<String>, policy: HSPolicy)

Call this function to start the SDK with multiple AppIDs. You should call this function only once.

fun start(application: Application, appId: String, policy: HSPolicy)

Call this function to start the SDK with a single AppID. You should call this function only once.

Link copied to clipboard
fun vid(appId: String? = null): String?

Get the VID for the given AppID.