Build 1.0_r1(from source)

android.provider
Class Sync.Status

java.lang.Object
  extended by android.provider.Sync.History
      extended by android.provider.Sync.Status
All Implemented Interfaces:
BaseColumns, Sync.HistoryColumns, Sync.StatsColumns, Sync.StatusColumns
Enclosing class:
Sync

public static class Sync.Status
extends Sync.History
implements Sync.StatusColumns

Provides constants and utility methods to access and use the authority history table, which contains information about syncs aggregated by account and authority. All the HistoryColumns except for EVENT are present, plus the AuthorityHistoryColumns.


Nested Class Summary
static class Sync.Status.QueryMap
           
 
Field Summary
static Uri CONTENT_URI
          The content url for this table.
 
Fields inherited from class android.provider.Sync.History
ERROR_AUTHENTICATION, ERROR_CONFLICT, ERROR_IO, ERROR_PARSE, ERROR_SYNC_ALREADY_IN_PROGRESS, ERROR_TOO_MANY_DELETIONS, ERROR_TOO_MANY_RETRIES, EVENT_START, EVENT_STOP, EVENTS, MESG_CANCELED, MESG_SUCCESS, SOURCE_LOCAL, SOURCE_POLL, SOURCE_SERVER, SOURCE_USER, SOURCES
 
Fields inherited from interface android.provider.Sync.StatusColumns
LAST_FAILURE_MESG, LAST_FAILURE_SOURCE, LAST_FAILURE_TIME, LAST_SUCCESS_SOURCE, LAST_SUCCESS_TIME, NUM_SOURCE_LOCAL, NUM_SOURCE_POLL, NUM_SOURCE_SERVER, NUM_SOURCE_USER, NUM_SYNCS, PENDING, TOTAL_ELAPSED_TIME
 
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
 
Fields inherited from interface android.provider.Sync.StatsColumns
ACCOUNT, AUTHORITY
 
Fields inherited from interface android.provider.Sync.HistoryColumns
DOWNSTREAM_ACTIVITY, ELAPSED_TIME, EVENT, EVENT_TIME, MESG, SOURCE, STATS_ID, UPSTREAM_ACTIVITY
 
Method Summary
static Cursor query(ContentResolver contentResolver)
          returns a cursor that queries the authority sync history in descending event order of ACCOUNT, AUTHORITY
 
Methods inherited from class android.provider.Sync.History
hasNewerSyncFinished, mesgToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_URI

public static final Uri CONTENT_URI
The content url for this table.

Method Detail

query

public static Cursor query(ContentResolver contentResolver)
returns a cursor that queries the authority sync history in descending event order of ACCOUNT, AUTHORITY

Parameters:
contentResolver - the ContentResolver to use for the query
Returns:
the cursor on the AuthorityHistory table

Build 1.0_r1(from source)

Please submit a feedback, bug or feature