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

Listener for sign-in success or failure events. More...

Inheritance diagram for com.google.fpl.utils.GooglePlayServicesHelper.SignInListener:
com.google.fpl.voltair.VoltAirActivity

Public Member Functions

void onSignInFailed ()
 Called when sign-in fails. More...
 
void onSignInSucceeded ()
 Called when sign-in succeeds. More...
 

Detailed Description

Listener for sign-in success or failure events.

Member Function Documentation

void com.google.fpl.utils.GooglePlayServicesHelper.SignInListener.onSignInFailed ( )

Called when sign-in fails.

As a result, a "Sign-In" button can be shown to the user; when that button is clicked, call beginUserInitiatedSignIn().

Note
Not all calls to this method mean an error; it may be a result of the fact that automatic sign-in could not proceed because user interaction was required (e.g. consent dialogs). Thus, implementations of this method should NOT display an error message unless a call to hasSignInError() indicates that an error indeed occurred.

Implemented in com.google.fpl.voltair.VoltAirActivity.

void com.google.fpl.utils.GooglePlayServicesHelper.SignInListener.onSignInSucceeded ( )

Called when sign-in succeeds.

As a result, a "Sign Out" button can be shown to the user; when that button is clicked, call signOut().

Implemented in com.google.fpl.voltair.VoltAirActivity.