public interface SyncQueueListener
Modifier and Type | Method and Description |
---|---|
void |
synchronizationCompleted()
Gets called when everything in the sync queue is synced with server.
|
void |
syncQueueForceStopPerformed()
gets called when sync queue is forced to stop syncing.
|
void |
syncQueueItemChanged(com.esignlive.sdk.backend.sync.SyncTransactionItem syncItem)
gets called when state or sync progress of an item in sync queue changes.
|
void |
syncQueueItemsNumberChanged(int itemsNumber)
gets called when the number of items in sync queue is changed.
|
void |
syncQueueSyncStarted()
Gets called when sync queue starts syncing.
|
void |
transactionIdUpdated(String oldId,
String newId)
gets called when transaction identifier is updated from a temporary id to the id from server.
|
void syncQueueItemChanged(com.esignlive.sdk.backend.sync.SyncTransactionItem syncItem)
syncItem
- item in sync queue which has been updated.void transactionIdUpdated(String oldId, String newId)
oldId
- temporary transaction id.newId
- id received from server.void syncQueueForceStopPerformed()
void syncQueueSyncStarted()
void synchronizationCompleted()
void syncQueueItemsNumberChanged(int itemsNumber)
itemsNumber
- total number of items in sync queue.