Gamebase SDK for Android  1.0.0
Toast Gamebase Platform

◆ removeMapping()

static void removeMapping ( final String  providerName,
@Nullable final GamebaseCallback  callback 
)
static

Removes external authentication that is mapped to the current user identifier.

Parameters
providerNameThe providerName which is authentication provider.
callbackCallbacks the result of removing the mapping.

Example Usage:

TAPSDK.removeMapping(AuthProvider.GOOGLE, new TAPCallback() {
@Override
public void onCallback(TAPException exception) {
if (TAPSDK.isSuccess(exception)) {
Log.d(TAG, "Remove mapping successful");
} else {
Log.d(TAG, "Remove mapping failed");
}
}
});
See also
com.toast.android.gamebase.auth.AuthProvider
com.toast.android.gamebase.GamebaseCallback
com.toast.android.gamebase.base.GamebaseException
com.toast.android.gamebase.base.GamebaseError