DSUpdateCachedTemplateListener

interface DSUpdateCachedTemplateListener

Functions

Link copied to clipboard
abstract fun onComplete(template: DSTemplate, updateAvailable: Boolean)

This method is invoked when a) with updateAvailable being false, when there is no update on template b) with updateAvailable being true, when the template update is available and caching the template is successful

Link copied to clipboard
abstract fun onError(exception: DSTemplateException)

This method is invoked when an error is thrown while updating the cached template