@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); }
Constructor and Description |
---|
UserRecoverableAuthIOException(com.google.android.gms.auth.UserRecoverableAuthException wrapped) |
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, toString
public UserRecoverableAuthIOException(com.google.android.gms.auth.UserRecoverableAuthException wrapped)
public com.google.android.gms.auth.UserRecoverableAuthException getCause()
getCause
in class GoogleAuthIOException
public final android.content.Intent getIntent()
Intent
that when supplied to
Activity.startActivityForResult(Intent, int)
will allow user intervention.Copyright © 2010–2020 Google. All rights reserved.