FileDocCategorySizeDatePackage
ISyncServiceAdapter.javaAPI DocAndroid 5.1 API4857Sat Mar 14 05:48:00 GMT 2015android.content

ISyncServiceAdapter

public interface ISyncServiceAdapter implements android.os.IInterface
Interface to define an anonymous service that is extended by developers in order to perform anonymous syncs (syncs without an Account or Content Provider specified). See {@link android.content.AbstractThreadedSyncAdapter}. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidcancelSync(android.content.ISyncContext syncContext)
Cancel the currently ongoing sync.

public voidstartSync(android.content.ISyncContext syncContext, android.os.Bundle extras)
Initiate a sync. SyncAdapter-specific parameters may be specified in extras, which is guaranteed to not be null.

param
syncContext the ISyncContext used to indicate the progress of the sync. When the sync is finished (successfully or not) ISyncContext.onFinished() must be called.
param
extras SyncAdapter-specific parameters.