@Beta public class UserRecoverableAuthIOException extends GoogleAuthIOException
Beta UserRecoverableAuthException into an IOException so it can be caught
directly.
Use getIntent() to allow user interaction to recover. Alternatively, use
getCause() to get the wrapped UserRecoverableAuthException. Example usage:
} catch (UserRecoverableAuthIOException userRecoverableException) {
myActivity.startActivityForResult(
userRecoverableException.getIntent(), MyActivity.REQUEST_AUTHORIZATION);
}
| Modifier and Type | Method and Description |
|---|---|
com.google.android.gms.auth.UserRecoverableAuthException |
getCause() |
android.content.Intent |
getIntent()
Returns the
Intent that when supplied to
Activity.startActivityForResult(Intent, int) will allow user intervention. |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic com.google.android.gms.auth.UserRecoverableAuthException getCause()
getCause in class GoogleAuthIOExceptionpublic final android.content.Intent getIntent()
Intent that when supplied to
Activity.startActivityForResult(Intent, int) will allow user intervention.Copyright © 2010-2013 Google. All Rights Reserved.