MobColl
 All Classes Functions
Classes | Static Public Member Functions | Static Private Attributes | List of all members
com.mobcoll.facebook.SessionEvents Class Reference

Classes

interface  AuthListener
 
interface  LogoutListener
 

Static Public Member Functions

static void addAuthListener (AuthListener listener)
 
static void removeAuthListener (AuthListener listener)
 
static void addLogoutListener (LogoutListener listener)
 
static void removeLogoutListener (LogoutListener listener)
 
static void onLoginSuccess ()
 
static void onLoginError (String error)
 
static void onLogoutBegin ()
 
static void onLogoutFinish ()
 

Static Private Attributes

static LinkedList< AuthListener > mAuthListeners
 
static LinkedList< LogoutListener > mLogoutListeners
 

Detailed Description

This class is used to manage the facebook session events.

Member Function Documentation

static void com.mobcoll.facebook.SessionEvents.addAuthListener ( AuthListener  listener)
inlinestatic

Associate the given listener with this Facebook object. The listener's callback interface will be invoked when authentication events occur.

Parameters
listener
static void com.mobcoll.facebook.SessionEvents.addLogoutListener ( LogoutListener  listener)
inlinestatic

Associate the given listener with this Facebook object. The listener's callback interface will be invoked when logout occurs.

Parameters
listener
static void com.mobcoll.facebook.SessionEvents.onLoginError ( String  error)
inlinestatic

This function is called when the login process is failed.

static void com.mobcoll.facebook.SessionEvents.onLoginSuccess ( )
inlinestatic

This function is called when the login process is succeeded.

static void com.mobcoll.facebook.SessionEvents.onLogoutBegin ( )
inlinestatic

This function is called when the logout process begin.

static void com.mobcoll.facebook.SessionEvents.onLogoutFinish ( )
inlinestatic

This function is called when the logout process finish.

static void com.mobcoll.facebook.SessionEvents.removeAuthListener ( AuthListener  listener)
inlinestatic

Remove the given listener from the list of those that will be notified when authentication events occur.

Parameters
listener
static void com.mobcoll.facebook.SessionEvents.removeLogoutListener ( LogoutListener  listener)
inlinestatic

Remove the given listener from the list of those that will be notified when logout occurs.

Parameters
listener

Member Data Documentation

LinkedList<AuthListener> com.mobcoll.facebook.SessionEvents.mAuthListeners
staticprivate
Initial value:
=
new LinkedList<AuthListener>()
LinkedList<LogoutListener> com.mobcoll.facebook.SessionEvents.mLogoutListeners
staticprivate
Initial value:
=
new LinkedList<LogoutListener>()

The documentation for this class was generated from the following file: