VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Public Member Functions | Static Public Attributes | List of all members
com.google.fpl.utils.GooglePlayServicesHelper.SignInFailureReason Class Reference

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...
 

Detailed Description

Represents the reason for a sign-in failure.

Constructor & Destructor Documentation

com.google.fpl.utils.GooglePlayServicesHelper.SignInFailureReason.SignInFailureReason ( int  serviceErrorCode)
inline

Constructs a SignInFailureReason with the given GoogleApiClient service error.

Parameters
serviceErrorCodeGoogleApiClient service error code that caused failure
com.google.fpl.utils.GooglePlayServicesHelper.SignInFailureReason.SignInFailureReason ( int  serviceErrorCode,
int  activityResultCode 
)
inline

Constructs a SignInFailureReason with the given GoogleApiClient service error and activity code.

Parameters
serviceErrorCodeGoogleApiClient service error code that caused failure
activityResultCodeResult code returned by the GoogleApiClient sign-in activity

Member Function Documentation

int com.google.fpl.utils.GooglePlayServicesHelper.SignInFailureReason.getActivityResultCode ( )
inline

Returns the GoogleApiClient sign-in activity result code.

int com.google.fpl.utils.GooglePlayServicesHelper.SignInFailureReason.getServiceErrorCode ( )
inline

Returns the GoogleApiClient service error code.

String com.google.fpl.utils.GooglePlayServicesHelper.SignInFailureReason.toString ( )
inline

Returns the human-readable representation of this SignInFailureReason.

Member Data Documentation

final int com.google.fpl.utils.GooglePlayServicesHelper.SignInFailureReason.NO_ACTIVITY_RESULT_CODE = -100
static

Represents no activity result code available.