English | Site Directory

Android - An Open Handset Alliance Project

android.database
protected static class

android.database.AbstractCursor.SelfContentObserver

java.lang.Object
android.database.ContentObserver
android.database.AbstractCursor.SelfContentObserver

Cursors use this class to track changes others make to their URI.

Summary

Public Methods

        boolean  deliverSelfNotifications()
Returns true if this observer is interested in notifications for changes made through the cursor the observer is registered with.
        void  onChange(boolean selfChange)
This method is called when a change occurs to the cursor that is being observed.
Methods inherited from class android.database.ContentObserver
Methods inherited from class java.lang.Object

Details

Public Methods

public boolean deliverSelfNotifications()

Returns true if this observer is interested in notifications for changes made through the cursor the observer is registered with.

public void onChange(boolean selfChange)

This method is called when a change occurs to the cursor that is being observed.

Parameters

selfChange true if the update was caused by a call to commit on the cursor that is being observed.
Build m5-rc15g - 14 May 2008 12:50