Build 1.0_r1(from source)

android.content
Interface ISyncContext

All Superinterfaces:
IInterface
All Known Implementing Classes:
ISyncContext.Stub, SyncManager.ActiveSyncContext

public interface ISyncContext
extends IInterface

Interface used by the SyncAdapter to indicate its progress.


Nested Class Summary
static class ISyncContext.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 void onFinished(SyncResult result)
          Signal that the corresponding sync session is completed.
 void sendHeartbeat()
          Call to indicate that the SyncAdapter is making progress.
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

sendHeartbeat

void sendHeartbeat()
                   throws RemoteException
Call to indicate that the SyncAdapter is making progress. E.g., if this SyncAdapter downloads or sends records to/from the server, this may be called after each record is downloaded or uploaded.

Throws:
RemoteException

onFinished

void onFinished(SyncResult result)
                throws RemoteException
Signal that the corresponding sync session is completed.

Parameters:
result - information about this sync session
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature