| java.lang.Object | |
| ↳ | android.provider.SyncStateContract.Helpers |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Get the sync state that is associated with the account or null.
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
Creates and returns a ContentProviderOperation that assigns the data array as the
sync state for the given account.
|
||||||||||
|
|
Creates and returns a ContentProviderOperation that assigns the data array as the
sync state for the given account.
|
||||||||||
|
|
Assigns the data array as the sync state for the given account.
|
||||||||||
|
|
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
Get the sync state that is associated with the account or null.
| provider |
the
ContentProviderClient
that is to be used to communicate
with the
ContentProvider
that contains the sync state.
|
|---|---|
| uri | the uri of the sync state |
| account |
the
Account
whose sync state should be returned
|
| RemoteException |
if there is a failure communicating with the remote
ContentProvider
|
|---|
| RemoteException |
|---|
| RemoteException |
|---|
Creates and returns a ContentProviderOperation that assigns the data array as the sync state for the given account.
| uri | the uri of the sync state |
|---|---|
| account |
the
Account
whose sync state should be set
|
| data | the byte[] that contains the sync state |
Creates and returns a ContentProviderOperation that assigns the data array as the sync state for the given account.
| uri | the uri of the specific sync state to set |
|---|---|
| data | the byte[] that contains the sync state |
Assigns the data array as the sync state for the given account.
| provider |
the
ContentProviderClient
that is to be used to communicate
with the
ContentProvider
that contains the sync state.
|
|---|---|
| uri | the uri of the sync state |
| account |
the
Account
whose sync state should be set
|
| data | the byte[] that contains the sync state |
| RemoteException |
if there is a failure communicating with the remote
ContentProvider
|
|---|
| RemoteException |
|---|