Gamebase SDK for Android
2.39.0
NHN Cloud Gamebase Platform
|
This class provides functionality related to temporary withdrawal. More...
Static Public Member Functions | |
static void | requestWithdrawal (@NonNull Activity activity, @Nullable GamebaseDataCallback< TemporaryWithdrawalInfo > callback) |
Request to withdraw. More... | |
static void | cancelWithdrawal (@NonNull Activity activity, @Nullable GamebaseCallback callback) |
If the user has requested to withdraw, cancel it. More... | |
static void | withdrawImmediately (@NonNull Activity activity, @Nullable GamebaseCallback callback) |
This function ignores the withdrawal grace period and proceeds withdrawal immediately. More... | |
This class provides functionality related to temporary withdrawal.
|
static |
If the user has requested to withdraw, cancel it.
If the user has never requested to leave, the function call will fail.
activity | The activity which is starting the mapping process. |
callback | Callbacks the result of cancel withdrawal. |
Example Usage:
|
static |
Request to withdraw.
If the user who requested the withdrawal logs in, you can check the grace expiration time through the AuthToken.getTemporaryWithdrawalInfo().getGracePeriodDate().
activity | The activity which is starting the mapping process. |
callback | Callbacks the result of requesting withdrawal. |
Example Usage:
|
static |
This function ignores the withdrawal grace period and proceeds withdrawal immediately.
Internally, this function works exactly the same as the com.toast.android.gamebase.Gamebase#withdraw(Activity, GamebaseCallback).
activity | The activity which is starting the mapping process. |
callback | Callbacks the result of withdraw. |
Example Usage: