Build 1.0_r1(from source)

android.content
Class ContentServiceProxy

java.lang.Object
  extended by android.content.ContentServiceProxy
All Implemented Interfaces:
IContentService, IInterface

final class ContentServiceProxy
extends Object
implements IContentService


Field Summary
 
Fields inherited from interface android.content.IContentService
CANCEL_SYNC_TRANSACTION, descriptor, NOTIFY_CHANGE_TRANSACTION, REGISTER_CONTENT_OBSERVER_TRANSACTION, SERVICE_NAME, START_SYNC_TRANSACTION, UNREGISTER_CHANGE_OBSERVER_TRANSACTION
 
Constructor Summary
ContentServiceProxy(IBinder remote)
           
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
 void cancelSync(Uri url)
           
 void notifyChange(Uri uri, IContentObserver observer, boolean observerWantsSelfNotifications, boolean syncToNetwork)
           
 void registerContentObserver(Uri uri, boolean notifyForDescendents, IContentObserver observer)
           
 void startSync(Uri url, Bundle extras)
           
 void unregisterContentObserver(IContentObserver observer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentServiceProxy

public ContentServiceProxy(IBinder remote)
Method Detail

asBinder

public IBinder asBinder()
Description copied from interface: IInterface
Retrieve the Binder object associated with this interface. You must use this instead of a plain cast, so that proxy objects can return the correct result.

Specified by:
asBinder in interface IInterface

registerContentObserver

public void registerContentObserver(Uri uri,
                                    boolean notifyForDescendents,
                                    IContentObserver observer)
                             throws RemoteException
Specified by:
registerContentObserver in interface IContentService
Throws:
RemoteException

unregisterContentObserver

public void unregisterContentObserver(IContentObserver observer)
                               throws RemoteException
Specified by:
unregisterContentObserver in interface IContentService
Throws:
RemoteException

notifyChange

public void notifyChange(Uri uri,
                         IContentObserver observer,
                         boolean observerWantsSelfNotifications,
                         boolean syncToNetwork)
                  throws RemoteException
Specified by:
notifyChange in interface IContentService
Throws:
RemoteException

startSync

public void startSync(Uri url,
                      Bundle extras)
               throws RemoteException
Specified by:
startSync in interface IContentService
Throws:
RemoteException

cancelSync

public void cancelSync(Uri url)
                throws RemoteException
Specified by:
cancelSync in interface IContentService
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature