withdraw

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

Withdraws the user.

Example Usage:

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

        // Withdraw success.
    }
});

Since

Added 1.4.0.

Parameters

activity

The activity which is starting the mapping process.

callback

Callbacks the result of withdraw.

See also