useTemplateOfflineWithPhoto

fun useTemplateOfflineWithPhoto(context: Context, templateId: String, envelopeDefaults: DSEnvelopeDefaults?, offlineUseTemplateWithPhotoListener: DSOfflineUseTemplateWithPhotoListener)

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.

offlineUseTemplateWithPhotoListener

DSOfflineUseTemplateWithPhotoListener The listener for callbacks for success/failure

Throws

exception thrown during signing process


fun useTemplateOfflineWithPhoto(context: Context, templateId: String, envelopeDefaults: DSEnvelopeDefaults?, pdfToAddUri: URI?, insertPdfAtPosition: DSDocumentInsertAtPosition?, offlineUseTemplateWithPhotoListener: DSOfflineUseTemplateWithPhotoListener)

Creates an Envelope derived from a Template in Offline mode. Use this API when the SignWithPhoto Capture implementation is 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

offlineUseTemplateWithPhotoListener

DSOfflineUseTemplateWithPhotoListener The listener for callbacks for success/failure

Throws

exception thrown during signing process