init

fun init(context: Context, clientID: String)

Deprecated

The init() method replaced by initialize() method

Replace with

TSAccountProtection.initialize(context, clientID)

Initializes the SDK and starts collecting device and user interaction data.

Parameters

context

The application context.

clientID

Your Account Protection client identifier.


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

Deprecated

The init() method replaced by initialize() method

Replace with

TSAccountProtection.initialize(context, baseUrl, clientID)

Initializes the SDK and starts collecting device and user interaction data.

Parameters

context

The application context.

baseUrl

Your Account Protection server URL.

clientID

Your Account Protection client identifier.


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

Deprecated

The init() method replaced by initialize() method

Replace with

TSAccountProtection.initialize(context, baseUrl, clientID, userID)

Initializes the SDK and starts collecting device and user interaction data.

Parameters

context

The application context.

baseUrl

Your Account Protection server URL.

clientID

Your Account Protection client identifier.

userID

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