setUserId

final Unit setUserId(String userId, String appId)

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. Ignore this param if you use only one AppID.