Exception UserRecoverableAuthIOException (2.4.1)

public class UserRecoverableAuthIOException extends GoogleAuthIOException

Beta
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)
Parameter
Name Description
wrapped com.google.android.gms.auth.UserRecoverableAuthException

Methods

getCause()

public UserRecoverableAuthException getCause()
Returns
Type Description
com.google.android.gms.auth.UserRecoverableAuthException
Overrides

getIntent()

public final Intent getIntent()

Returns the Intent that when supplied to Activity#startActivityForResult(Intent, int) will allow user intervention.

Returns
Type Description
android.content.Intent