Android
android.content
public final class

android.content.SyncResult

java.lang.Object
android.content.SyncResult Parcelable

This class is used to store information about the result of a sync

Summary

Constants

      Value  
SyncResult  ALREADY_IN_PROGRESS       
Creator<SyncResult CREATOR       
Constants inherited from interface android.os.Parcelable

Fields

public      boolean  databaseError   
public      boolean  fullSyncRequested   
public      boolean  partialSyncUnavailable   
public    final  SyncStats  stats   
public    final  boolean  syncAlreadyInProgress   
public      boolean  tooManyDeletions   
public      boolean  tooManyRetries   

Public Constructors

            SyncResult()

Public Methods

          void  clear()
          int  describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
          boolean  hasError()
          boolean  hasHardError()
          boolean  hasSoftError()
          boolean  madeSomeProgress()
          String  toString()
Returns a string containing a concise, human-readable description of the receiver.
          void  writeToParcel(Parcel parcel, int flags)
Flatten this object in to a Parcel.
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final SyncResult ALREADY_IN_PROGRESS

public static final Creator<SyncResult> CREATOR

Fields

public boolean databaseError

public boolean fullSyncRequested

public boolean partialSyncUnavailable

public final SyncStats stats

public final boolean syncAlreadyInProgress

public boolean tooManyDeletions

public boolean tooManyRetries

Public Constructors

public SyncResult()

Public Methods

public void clear()

public int describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public boolean hasError()

public boolean hasHardError()

public boolean hasSoftError()

public boolean madeSomeProgress()

public String toString()

Returns a string containing a concise, human-readable description of the receiver.

Returns

  • String a printable representation for the receiver.

public void writeToParcel(Parcel parcel, int flags)

Flatten this object in to a Parcel.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48