syncAll

fun syncAll(envelopeIdList: List<String>, listener: DSSyncAllEnvelopesListener, deleteCachedEnvelope: Boolean = true)

Syncs all envelopes in the envelopeList in batches of 5 - defined in ENVELOPES_TO_SYNC_IN_BATCH.

Parameters

envelopeIdList

List of all envelope Ids with sync status PENDING, IN_PROGRESS and FAILED

listener

DSSyncAllEnvelopesListener implementation for success and failure

deleteCachedEnvelope

By default, its set to true. If set to false, after successful sync, the cached envelope is NOT deleted.