useTemplateOffline

fun useTemplateOffline(context: Context, templateId: String, envelopeDefaults: DSEnvelopeDefaults?, offlineUseTemplateListener: DSOfflineUseTemplateListener)

Send an Envelope derived from a Template in Offline mode

Parameters

context

The containing application Context

templateId

The ID of the template to use

envelopeDefaults

Default values for the resulting envelope. Optional.

offlineUseTemplateListener

DSOfflineUseTemplateListener The listener for callbacks for success/failure

Throws

exception thrown during signing process


fun useTemplateOffline(context: Context, templateId: String, envelopeDefaults: DSEnvelopeDefaults?, pdfToAddUri: URI?, insertPdfAtPosition: DSDocumentInsertAtPosition?, offlineUseTemplateListener: DSOfflineUseTemplateListener)

Creates an Envelope derived from a Template in Offline mode. Use this API when the SignWithPhoto Capture implementation is NOT handled by the client.

Parameters

context

The containing application Context

templateId

The ID of the template to use

envelopeDefaults

Default values for the resulting envelope. Optional.

pdfToAddUri

PDF file to append to the beginning or end of resulting envelope

insertPdfAtPosition

Whether to insert the PDF at the beginning or end

offlineUseTemplateListener

DSOfflineUseTemplateListener The listener for callbacks for success/failure

Throws

exception thrown during signing process