# withdrawImmediately

open fun withdrawImmediately(@NonNull activity: Activity, @Nullable callback: GamebaseCallback)

This function ignores the withdrawal grace period and proceeds withdrawal immediately. Internally, this function works exactly the same as the withdraw.

Example Usage:

    public static void testWithdrawImmediately() {
        Gamebase.TemporaryWithdrawal.withdrawImmediately(activity, new GamebaseCallback() {
            @Override
            public void onCallback(final GamebaseException exception) {
                if (!Gamebase.isSuccess(exception)) {
                    // Withdraw failed.
                    return;
                }

                // Withdraw success.
            }
        });
    }

Content copied to clipboard

#### Since

Added 2.9.0

#### Parameters

activity

The activity which is starting the mapping process.

callback

Callbacks the result of withdraw.

#### See also

GamebaseCallback
Gamebase