|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISyncAdapter
Interface used to control the sync activity on a SyncAdapter
| Nested Class Summary | |
|---|---|
static class |
ISyncAdapter.Stub
Local-side IPC implementation stub class. |
| Method Summary | |
|---|---|
void |
cancelSync()
Cancel the most recently initiated sync. |
void |
startSync(ISyncContext syncContext,
String account,
Bundle extras)
Initiate a sync for this account. |
| Methods inherited from interface android.os.IInterface |
|---|
asBinder |
| Method Detail |
|---|
void startSync(ISyncContext syncContext,
String account,
Bundle extras)
throws RemoteException
syncContext - the ISyncContext used to indicate the progress of the sync. When
the sync is finished (successfully or not) ISyncContext.onFinished() must be called.account - the account that should be syncedextras - SyncAdapter-specific parameters
RemoteException
void cancelSync()
throws RemoteException
RemoteException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||