Android Developers | Android.com

API Diff Specification
To Level: | 5
From Level: | 4
Generated | 2009.11.19 19:35

Statistics

## Class android.content.`ContentResolver`

Added Methods
`ContentProviderClient` `acquireContentProviderClient`(`Uri`) |
`ContentProviderClient` `acquireContentProviderClient`(`String`) |
`Object` `addStatusChangeListener`(`int,` SyncStatusObserver) |
`ContentProviderResult[]` `applyBatch`(`String,` ArrayList<ContentProviderOperation>) |
`void` `cancelSync`(`Account,` String) |
`int` `getIsSyncable`(`Account,` String) |
`boolean` `getMasterSyncAutomatically`() |
`SyncAdapterType[]` `getSyncAdapterTypes`() |
`boolean` `getSyncAutomatically`(`Account,` String) |
`boolean` `isSyncActive`(`Account,` String) |
`boolean` `isSyncPending`(`Account,` String) |
`void` `removeStatusChangeListener`(`Object`) |
`void` `requestSync`(`Account,` String, Bundle) |
`void` `setIsSyncable`(`Account,` String, int) |
`void` `setMasterSyncAutomatically`(`boolean`) |
`void` `setSyncAutomatically`(`Account,` String, boolean) |

Changed Methods
`void` `startSync`(`Uri,` Bundle) | Now deprecated. |
`void` `cancelSync`(`Uri`) | Now deprecated. |

Added Fields
`String` `SYNC_EXTRAS_INITIALIZE` |
`String` `SYNC_EXTRAS_MANUAL` |

Changed Fields
`String` `SYNC_EXTRAS_ACCOUNT` | Now deprecated. |
`String` `SYNC_EXTRAS_FORCE` | Now deprecated. |