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) {
@Override
if (failInfo != null) {
String failedId = failInfo.
id;
return;
}
return;
}
}
});
}
This class is a wrapper class that is provided to use various features of Gamebase platform.
Definition: Gamebase.java:61
static void transferAccountWithIdPLogin(final String accountId, final String accountPassword, final GamebaseDataCallback< AuthToken > callback)
Try to transfer account with transfer account id and password.
Definition: Gamebase.java:1003
static boolean isSuccess(@Nullable final GamebaseException exception)
Returns true if the GamebaseException object is null or the error code is zero.
Definition: Gamebase.java:160
Definition: AuthToken.java:15
If the transferAccountWithIdPLogin API fails with error AUTH_TRANSFERACCOUNT_BLOCK (3042),...
Definition: TransferAccountFailInfo.java:45
String id
Definition: TransferAccountFailInfo.java:49
int failCount
Definition: TransferAccountFailInfo.java:51
static TransferAccountFailInfo from(GamebaseException exception)
Factory method to create VO instance.
Definition: TransferAccountFailInfo.java:66
long blockEndDate
Definition: TransferAccountFailInfo.java:52
An object that contains the success or failure of the execution of the Gamebase function.
Definition: GamebaseException.java:26
Generic callback interface that returns data.
Definition: GamebaseDataCallback.java:12
- See also
com.toast.android.gamebase.Gamebase#transferAccountWithIdPLogin(String, String, GamebaseDataCallback)
-
com.toast.android.gamebase.base.GamebaseException
◆ from()
Factory method to create VO instance.
- Parameters
-
exception | Extracts the VO class instance from this exception. |
- Returns
- VO instance
◆ fromJson() [1/3]
static< T > T fromJson |
( |
@NonNull JSONObject |
jsonObject, |
|
|
Class< T > |
classOfT |
|
) |
| |
|
staticinherited |
◆ fromJson() [2/3]
static< T > T fromJson |
( |
@NonNull String |
json, |
|
|
Class< T > |
classOfT |
|
) |
| |
|
staticinherited |
◆ fromJson() [3/3]
static< T > T fromJson |
( |
@NonNull String |
json, |
|
|
Type |
type |
|
) |
| |
|
staticinherited |
◆ toJsonString()
◆ toPrettyJsonString()
String toPrettyJsonString |
( |
| ) |
|
|
inherited |
◆ toString()
◆ appId
◆ blockEndDate
◆ failCount
◆ id
◆ regDate
◆ status