setUserId

fun setUserId(userId: String?, appId: String?)

Calling this method with non-null userId will start the Account Defender feature. You must call the start function and wait until it's done before calling this function.

Parameters

userId

The user ID. You may provide nil in case the user is not logged in anymore.

appId

The AppID of your account. If you use only one AppID you may pass null.