cacheTemplate

fun cacheTemplate(templateId: String, cacheTemplateListener: DSCacheTemplateListener)

Caches the template which includes downloading the template and documents which will then be available for offline signing.

Parameters

templateId

Template Id

cacheTemplateListener

DSCacheTemplateListener in which onComplete() will be invoked when template is successfully cached and onError() will be invoked when error occurs during caching template. onError() will also be invoked when the template is not eligible for offline signing.