Android
android.content
public interface

android.content.ISyncAdapter

android.content.ISyncAdapter IInterface
Nested Classes
ISyncAdapter.Stub Local-side IPC implementation stub class. 
Known Indirect Subclasses

Summary

Public Methods

          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

Details

Public Methods

public void cancelSync()

Cancel the most recently initiated sync. Due to race conditions, this may arrive after the ISyncContext.onFinished() for that sync was called.

public void startSync(ISyncContext syncContext, String account, Bundle extras)

Initiate a sync for this account. SyncAdapter-specific parameters may be specified in extras, which is guaranteed to not be null.

Parameters

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 synced
extras SyncAdapter-specific parameters
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48