SyncStats


public class SyncStats
extends Object implements Parcelable

java.lang.Object
   ↳ android.content.SyncStats


Used to record various statistics about the result of a sync operation. The SyncManager gets access to these via a SyncResult and uses some of them to determine the disposition of the sync. See SyncResult for further dicussion on how the SyncManager uses these values.

Summary

Inherited constants

Fields

public static final Creator<SyncStats> CREATOR

public long numAuthExceptions

The SyncAdapter was unable to authenticate the Account that was specified in the request.

public long numConflictDetectedExceptions

The SyncAdapter detected that there was an unrecoverable version conflict when it attempted to update or delete a version of a resource on the server.

public long numDeletes

Counter for tracking how many deletes were performed by the sync operation, as defined by the SyncAdapter.

public long numEntries

Counter for tracking how many entries were affected by the sync operation, as defined by the SyncAdapter.

public long numInserts

Counter for tracking how many inserts were performed by the sync operation, as defined by the SyncAdapter.

public long numIoExceptions

The SyncAdapter had a problem, most likely with the network connectivity or a tim