English | Site Directory

Android - An Open Handset Alliance Project

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.

Summary

Constants

      Value  
Creator  CREATOR       

Public Constructors

          TrivialSyncData()

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
Methods inherited from class android.content.SyncAdapter.SyncData
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final Creator CREATOR

Public Constructors

public TrivialSyncData()

Public Methods

public boolean hasMoreDataToFetch()

This version of SyncData never has more data to get.

Returns

  • whether or not more data is waiting to be downloaded

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
Build m5-rc15i - 10 Jun 2008 13:54