cacheEnvelope
fun cacheEnvelope(envelope: DSEnvelope, cacheEnvelopeListener: CacheEnvelopeListener)
Content copied to clipboard
Given a envelope, cache it to the DB for using it with offline signing
Parameters
envelope
cacheEnvelopeListener
a callback to when this operation completes
fun cacheEnvelope(envelopeId: String, cacheEnvelopeListener: DSCacheEnvelopeListener)
Content copied to clipboard
Cache the envelope given the envelope ID. This will return the envelope if it is already cached. If not, fetches the latest copy of the envelope along with the documents from the Docusign API
Parameters
envelopeId
the ID of the Envelope to be cached
cacheEnvelopeListener
the DSCacheEnvelopeListener to subscribe to callbacks