Reference:Android.content.SyncAdapter.SyncData

From Triled Wiki

Jump to: navigation, search


android.content
public static abstract class android.content.SyncAdapter.SyncData

java.lang.Object
android.content.SyncAdapter.SyncData Parcelable
Used by getServerDiffs() to track the sync progress for a given sync adapter. Implementations of SyncAdapter generally specialize this class in order to track specific data about that SyncAdapter's sync. If an implementation of SyncAdapter doesn't need to store any data for a sync it may use TrivialSyncData.

Contents

[edit] Known Direct Subclasses

TrivialSyncData

[edit] Summary

[edit] Public Constructors

          SyncAdapter.SyncData ()

[edit] Public Methods

abstract        boolean  hasMoreDataToFetch ()
Check if the last call to getServerDiffs() only performed a partial download.

[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Methods inherited from interface android.os.Parcelable

writeToParcel

[edit] Details

[edit] Public Constructors

[edit] public SyncAdapter.SyncData()

[edit] Public Methods

[edit] public abstract boolean hasMoreDataToFetch()

Check if the last call to getServerDiffs() only performed a partial download.

Returns

  • If true indicates that the last call to getServerDiffs() only performed a partial download

[edit] References

Personal tools