Reference:Android.database.AbstractCursor.SelfContentObserver

From Triled Wiki

Jump to: navigation, search


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.

Contents

[edit] Summary

[edit] 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.

[edit] Methods inherited from class android.database.ContentObserver
deliverSelfNotifications, dispatchChange, onChange
[edit] Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

[edit] Details

[edit] Public Methods

[edit] public boolean deliverSelfNotifications()

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

[edit] 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.

[edit] References

Personal tools