initialize

fun initialize(context: Context, clientID: String)

Initializes the Account Protection SDK and starts automatic tracking of device and user interactions.

Parameters

context

The application context.

clientID

Your Account Protection client identifier.


fun initialize(context: Context, baseUrl: String, clientID: String)

Initializes the Account Protection SDK and starts automatic tracking of device and user interactions.

Parameters

context

The application context.

baseUrl

Your Account Protection collection server URL.

clientID

Your Account Protection client identifier.


fun initialize(context: Context, baseUrl: String, clientID: String, userID: String? = null)

Initializes the SDK, which starts automatically tracking and submitting info of the user journey.

Parameters

context

The application context.

baseUrl

Your Account Protection collection server URL.

clientID

Your Account Protection client identifier.

userID

(Optional) A unique, opaque identifier representing the authenticated user in your system.