confirmLogin

open fun <R : RegistrationCallback?> confirmLogin(@NonNull context: Context, @Nullable registrationCallback: R)

To be called after receiving a BAD_DEVICE_ID error.

The BAD_DEVICE_ID error means the account is already used on another device. If you want to confirm using the account by the current device you just need the confirm by calling this method.

Parameters

context

Context: The application context

registrationCallback

RegistrationCallback:A callback to inform about the login type RegistrationCallback.LoginType.Possible errors may be returned please see STWAccountError