Build 1.0_r1(from source)

android.content
Interface IContentService

All Superinterfaces:
IInterface
All Known Implementing Classes:
ContentService, ContentServiceNative, ContentServiceProxy

public interface IContentService
extends IInterface


Field Summary
static int CANCEL_SYNC_TRANSACTION
           
static String descriptor
           
static int NOTIFY_CHANGE_TRANSACTION
           
static int REGISTER_CONTENT_OBSERVER_TRANSACTION
           
static String SERVICE_NAME
           
static int START_SYNC_TRANSACTION
           
static int UNREGISTER_CHANGE_OBSERVER_TRANSACTION
           
 
Method Summary
 void cancelSync(Uri uri)
           
 void notifyChange(Uri uri, IContentObserver observer, boolean observerWantsSelfNotifications, boolean syncToNetwork)
           
 void registerContentObserver(Uri uri, boolean notifyForDescendentsn, IContentObserver observer)
           
 void startSync(Uri url, Bundle extras)
           
 void unregisterContentObserver(IContentObserver observer)
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Field Detail

SERVICE_NAME

static final String SERVICE_NAME
See Also:
Constant Field Values

descriptor

static final String descriptor
See Also:
Constant Field Values

REGISTER_CONTENT_OBSERVER_TRANSACTION

static final int REGISTER_CONTENT_OBSERVER_TRANSACTION
See Also:
Constant Field Values

UNREGISTER_CHANGE_OBSERVER_TRANSACTION

static final int UNREGISTER_CHANGE_OBSERVER_TRANSACTION
See Also:
Constant Field Values

NOTIFY_CHANGE_TRANSACTION

static final int NOTIFY_CHANGE_TRANSACTION
See Also:
Constant Field Values

START_SYNC_TRANSACTION

static final int START_SYNC_TRANSACTION
See Also:
Constant Field Values

CANCEL_SYNC_TRANSACTION

static final int CANCEL_SYNC_TRANSACTION
See Also:
Constant Field Values
Method Detail

registerContentObserver

void registerContentObserver(Uri uri,
                             boolean notifyForDescendentsn,
                             IContentObserver observer)
                             throws RemoteException
Throws:
RemoteException

unregisterContentObserver

void unregisterContentObserver(IContentObserver observer)
                               throws RemoteException
Throws:
RemoteException

notifyChange

void notifyChange(Uri uri,
                  IContentObserver observer,
                  boolean observerWantsSelfNotifications,
                  boolean syncToNetwork)
                  throws RemoteException
Throws:
RemoteException

startSync

void startSync(Uri url,
               Bundle extras)
               throws RemoteException
Throws:
RemoteException

cancelSync

void cancelSync(Uri uri)
                throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature