Reference:Android.content.TrivialSyncData

From Triled Wiki

Jump to: navigation, search


android.content
public class android.content.TrivialSyncData

java.lang.Object
android.content.SyncAdapter.SyncData Parcelable
android.content.TrivialSyncData

An implementation of SyncData that contains nothing but is suitable for use by implementations of SyncAdapter that don't need their own specialization of SyncData.

Contents

[edit] Summary

[edit] Constants

      Value  
Creator   CREATOR        

[edit] Public Constructors

          TrivialSyncData ()

[edit] Public Methods

        boolean  hasMoreDataToFetch ()
This version of SyncData never has more data to get.
        void  writeToParcel (Parcel dest)
Since this version doesn't contain any data there is nothing to write

[edit] Methods inherited from class android.content.SyncAdapter.SyncData
hasMoreDataToFetch
[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] Constants

[edit] public static final Creator CREATOR

[edit] Public Constructors

[edit] public TrivialSyncData()

[edit] Public Methods

[edit] public boolean hasMoreDataToFetch()

This version of SyncData never has more data to get.

Returns

  • whether or not more data is waiting to be downloaded

[edit] public void writeToParcel(Parcel dest)

Since this version doesn't contain any data there is nothing to write

Parameters

dest the Parcel to write the data into

[edit] References

Personal tools