queryTransferAccount

Try to query the transfer account to Gamebase. If the transfer account is already issued, it returns.

Example Usage:

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

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

Since

Added 2.1.0.

Parameters

callback

Callbacks the result of queryTransferAccount.

See also