com.vodafone360.people.service
Class NativeAccountObjectsHolder

java.lang.Object
  extended by com.vodafone360.people.service.NativeAccountObjectsHolder

public class NativeAccountObjectsHolder
extends java.lang.Object

Small class created solely for holding the Authenticator and Sync Adapter objects required for the ability to have a 360 People Account on Native side. We hold the objects this way to make it so that the code also loads on 1.X devices.


Field Summary
private static java.lang.Object sAuthenticator
          "Hidden" Authenticator object
private static java.lang.Object sSyncAdapter
          "Hidden" Sync Adapter object
 
Constructor Summary
NativeAccountObjectsHolder(MainApplication application)
           
 
Method Summary
 IBinder getAuthenticatorBinder()
          Shortcut method to get the Binder Interface from the Authenticator object.
 IBinder getSyncAdapterBinder()
          Shortcut method to get the Binder Interface from the Sync Adapter object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sAuthenticator

private static java.lang.Object sAuthenticator
"Hidden" Authenticator object


sSyncAdapter

private static java.lang.Object sSyncAdapter
"Hidden" Sync Adapter object

Constructor Detail

NativeAccountObjectsHolder

public NativeAccountObjectsHolder(MainApplication application)
Method Detail

getAuthenticatorBinder

public IBinder getAuthenticatorBinder()
Shortcut method to get the Binder Interface from the Authenticator object.

Returns:
IBinder object for the Authenticator

getSyncAdapterBinder

public IBinder getSyncAdapterBinder()
Shortcut method to get the Binder Interface from the Sync Adapter object.

Returns:
IBinder object for the Sync Adapter


JavaDoc