SyncProviderpublic class SyncProvider extends ContentProvider ContentProvider that tracks the sync data and overall sync
history on the device. |
Fields Summary |
---|
private SyncStorageEngine | mSyncStorageEngine |
Constructors Summary |
---|
public SyncProvider()
|
Methods Summary |
---|
public int | delete(android.net.Uri url, java.lang.String where, java.lang.String[] whereArgs)
return mSyncStorageEngine.delete(true /* the caller is the provider */,
url, where, whereArgs);
| public java.lang.String | getType(android.net.Uri url)
return mSyncStorageEngine.getType(url);
| public android.net.Uri | insert(android.net.Uri url, ContentValues initialValues)
return mSyncStorageEngine.insert(true /* the caller is the provider */,
url, initialValues);
| public boolean | onCreate()
mSyncStorageEngine = SyncStorageEngine.getSingleton();
return true;
| public android.database.Cursor | query(android.net.Uri url, java.lang.String[] projectionIn, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sort)
return mSyncStorageEngine.query(url, projectionIn, selection, selectionArgs, sort);
| public int | update(android.net.Uri url, ContentValues initialValues, java.lang.String where, java.lang.String[] whereArgs)
return mSyncStorageEngine.update(true /* the caller is the provider */,
url, initialValues, where, whereArgs);
|
|