Methods Summary |
---|
public boolean | deliverSelfNotifications()Returns true if this observer is interested in notifications for changes
made through the cursor the observer is registered with.
return false;
|
public final void | dispatchChange(boolean selfChange)
if (mHandler == null) {
onChange(selfChange);
} else {
mHandler.post(new NotificationRunnable(selfChange));
}
|
public IContentObserver | getContentObserver()Gets access to the binder transport object. Not for public consumption.
{@hide}
synchronized(lock) {
if (mTransport == null) {
mTransport = new Transport(this);
}
return mTransport;
}
|
public void | onChange(boolean selfChange)This method is called when a change occurs to the cursor that
is being observed.
|
public IContentObserver | releaseContentObserver()Gets access to the binder transport object, and unlinks the transport object
from the ContentObserver. Not for public consumption.
{@hide}
synchronized(lock) {
Transport oldTransport = mTransport;
if (oldTransport != null) {
oldTransport.releaseContentObserver();
mTransport = null;
}
return oldTransport;
}
|