android.provider
Class Sync.Status
java.lang.Object
android.provider.Sync.History
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.
| 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 |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_URI
public static final Uri CONTENT_URI
- The content url for this table.
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
Please submit a feedback, bug or feature