getTemplateCategoryByUUID

suspend fun getTemplateCategoryByUUID(context: Context, categoryUUID: String): STWTemplateCategory?

Gets a template category having the given categoryUUID. This method return null if the given categoryUUID is empty or the corresponding category is not found.

It should be called only from a coroutine or another suspend function

Return

STWTemplateCategory : the category having the given UUID, or null if it is not found.

Parameters

context
    **Context** The application context.
categoryUUID
    **String** the category uuid