Reference:Android.content.SyncObserver
From Triled Wiki
android.content
public abstract class android.content.SyncObserver
| java.lang.Object | ||
| android.content.SyncObserver | ||
An observer of sync progress. Once registered with ContentResolver this will be informed of sync progress.
Contents |
[edit] Summary
[edit] Public Constructors
| SyncObserver (boolean runCallbacksOnCurrentThread) | |||||
| Constructs a new SyncObserver. | |||||
[edit] Public Methods
| final | ISyncObserver | getISyncObserver () | |||
| abstract | void | onSyncStatusChanged () | |||
| Called when the sync progress changes. | |||||
[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Details
[edit] Public Constructors
[edit] public SyncObserver(boolean runCallbacksOnCurrentThread)
Constructs a new SyncObserver.
Parameters
| runCallbacksOnCurrentThread | controls whether callbacks are run on the thread that calls this contructor (if true) or whichever thread the system uses to process the callback. |
|---|
[edit] Public Methods
[edit] public final ISyncObserver getISyncObserver()
[edit] public abstract void onSyncStatusChanged()
Called when the sync progress changes. This includes starting to sync, finishing (sucessfully or with an error), starting to sync a new sync adapter and changes to progress text.
[edit] References
- Original documentation page for Android SDK build m5-rc15e - 14 apr 2008 17:27
