# issueTransferAccount

open fun issueTransferAccount(callback: GamebaseDataCallback<TransferAccountInfo>)

Try to issue the transfer account.

Example Usage:

    public static void onIssueTransferAccount(final Activity activity) {
        Gamebase.issueTransferAccount(new GamebaseDataCallback<TransferAccountInfo>() {
            @Override
            public void onCallback(final TransferAccountInfo transferAccount, final GamebaseException exception) {
                if (!Gamebase.isSuccess(exception)) {
                    // Issuing TransferAccount failed.
                    return;
                }

                // Issuing TransferAccount success.
                final String account = transferAccount.account.id;
                final String password = transferAccount.account.password;
            }
        });
    }

Content copied to clipboard

#### Since

Added 2.1.0.

#### Parameters

callback

Callbacks the result of issueTransferAccount.

#### See also

TransferAccountInfo