updateCachedTemplate
fun updateCachedTemplate(templateId: String, updateCachedTemplateListener: DSUpdateCachedTemplateListener)
Content copied to clipboard
Fetches the template from API and compares the lastModified Date with that of the cached Template. If it's not the same, remove the cached template and get the latest one from server
Parameters
templateId
Template Id
updateCachedTemplateListener
DSUpdateCachedTemplateListener in which onComplete() will be invoked when the template is successfully cached and onError() will be invoked when error occurs while caching the template. onError() will also be invoked when the template is not eligible for offline signing.