public class UserRecoverableAuthIOException extends GoogleAuthIOExceptionBeta
Wraps a 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);
}
}Constructors
UserRecoverableAuthIOException(UserRecoverableAuthException wrapped)
public UserRecoverableAuthIOException(UserRecoverableAuthException wrapped)| Name | Description |
| wrapped | com.google.android.gms.auth.UserRecoverableAuthException |
Methods
getCause()
public UserRecoverableAuthException getCause()| Type | Description |
| com.google.android.gms.auth.UserRecoverableAuthException |
getIntent()
public final Intent getIntent()Returns the Intent that when supplied to Activity#startActivityForResult(Intent, int) will allow user intervention.
| Type | Description |
| android.content.Intent |