public abstract class DefaultSignInResultHandler extends Object implements SignInResultHandler
IdentityManager#signInOrSignUp(Context, SignInResultHandler) by providing default
behavior in the case that the user cancels signing in or encounters an error. The default for
canceling is to toast that sign-in was canceled. The default for a sign-in error is to show
an alert dialog specifying the error message.| Constructor and Description |
|---|
DefaultSignInResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onIntermediateProviderCancel(android.app.Activity callingActivity,
IdentityProvider provider)
User cancelled signing in with a provider on the sign-in activity.
|
void |
onIntermediateProviderError(android.app.Activity callingActivity,
IdentityProvider provider,
Exception ex)
User encountered an error when attempting to sign-in with a provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCancel, onSuccesspublic void onIntermediateProviderCancel(android.app.Activity callingActivity,
IdentityProvider provider)
onIntermediateProviderCancel in interface SignInResultHandlerprovider - the provider the user canceled with.public void onIntermediateProviderError(android.app.Activity callingActivity,
IdentityProvider provider,
Exception ex)
onIntermediateProviderError in interface SignInResultHandlerprovider - the provider the user attempted to sign-in with that encountered an error.ex - the exception that occurred.Copyright © 2017. All rights reserved.