SyncAdapterpublic abstract class SyncAdapter extends Object
Fields Summary |
---|
private static final String | TAG | public static final int | LOG_SYNC_DETAILSKernel event log tag. Also listed in data/etc/event-log-tags. | Transport | mTransport |
Methods Summary |
---|
public abstract void | cancelSync()Cancel the most recently initiated sync. Due to race conditions, this may arrive
after the ISyncContext.onFinished() for that sync was called. IPC invocations
of this method and startSync() are guaranteed to be serialized.
| final ISyncAdapter | getISyncAdapter()Get the Transport object. (note this is package private).
return mTransport;
| public abstract void | startSync(SyncContext syncContext, java.lang.String account, android.os.Bundle extras)Initiate a sync for this account. SyncAdapter-specific parameters may
be specified in extras, which is guaranteed to not be null. IPC invocations
of this method and cancelSync() are guaranteed to be serialized.
|
|