VoltAir
|
Represents the reason for a sign-in failure. More...
Public Member Functions | |
SignInFailureReason (int serviceErrorCode) | |
Constructs a SignInFailureReason with the given GoogleApiClient service error. More... | |
SignInFailureReason (int serviceErrorCode, int activityResultCode) | |
Constructs a SignInFailureReason with the given GoogleApiClient service error and activity code. More... | |
int | getServiceErrorCode () |
Returns the GoogleApiClient service error code. More... | |
int | getActivityResultCode () |
Returns the GoogleApiClient sign-in activity result code. More... | |
String | toString () |
Returns the human-readable representation of this SignInFailureReason. More... | |
Static Public Attributes | |
static final int | NO_ACTIVITY_RESULT_CODE = -100 |
Represents no activity result code available. More... | |
Represents the reason for a sign-in failure.
|
inline |
Constructs a SignInFailureReason with the given GoogleApiClient
service error.
serviceErrorCode | GoogleApiClient service error code that caused failure |
|
inline |
Constructs a SignInFailureReason with the given GoogleApiClient
service error and activity code.
serviceErrorCode | GoogleApiClient service error code that caused failure |
activityResultCode | Result code returned by the GoogleApiClient sign-in activity |
|
inline |
Returns the GoogleApiClient
sign-in activity result code.
|
inline |
Returns the GoogleApiClient
service error code.
|
inline |
Returns the human-readable representation of this SignInFailureReason.
|
static |
Represents no activity result code available.