If the transferAccountWithIdPLogin API fails with error AUTH_TRANSFERACCOUNT_BLOCK (3042),
this VO will tell you the number of failed attempts and the block duration.
More...
If the transferAccountWithIdPLogin API fails with error AUTH_TRANSFERACCOUNT_BLOCK (3042),
this VO will tell you the number of failed attempts and the block duration.
- Since
- Added 2.2.0
Example Usage:
void transferAccountSample(String id, String password) {
Gamebase.transferAccountWithIdPLogin(accountId, accountPassword, new GamebaseDataCallback<AuthToken>() {
@Override
public void onCallback(AuthToken authToken, GamebaseException exception) {
if (!Gamebase.isSuccess(exception)) {
TransferAccountFailInfo failInfo = TransferAccountFailInfo.from(exception);
if (failInfo != null) {
String failedId = failInfo.id;
Date blockedDate = new Date(failInfo.blockEndDate);
return;
}
return;
}
}
});
}
- See also
- com.toast.android.gamebase.Gamebase#transferAccountWithIdPLogin(String, String, GamebaseDataCallback)
-
com.toast.android.gamebase.base.GamebaseException