|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface ContactSyncEngine.IContactSyncObserver
Observer interface allowing interested parties to receive notification of changes in Contact sync state.
| Method Summary | |
|---|---|
void |
onContactSyncStateChange(ContactSyncEngine.Mode mode,
ContactSyncEngine.State oldState,
ContactSyncEngine.State newState)
Called when the contact sync engine changes state or mode |
void |
onProgressEvent(ContactSyncEngine.State currentState,
int percent)
Called to update interested parties on contact sync progress. |
void |
onSyncComplete(ServiceStatus status)
Called a contact sync finishes. |
| Method Detail |
|---|
void onSyncComplete(ServiceStatus status)
status - SUCCESS if the sync was successful, a suitable error
code otherwise.
void onContactSyncStateChange(ContactSyncEngine.Mode mode,
ContactSyncEngine.State oldState,
ContactSyncEngine.State newState)
mode - Current modeoldState - Previous statenewState - New state
void onProgressEvent(ContactSyncEngine.State currentState,
int percent)
currentState - What the contact sync engine is currently doingpercent - Percentage complete for the current task
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
JavaDoc