addTemplateToFavorite

fun addTemplateToFavorite(    context: Context,     templateUuid: String,     callback: OperationListener<MyBusinessError>?)

Adds a template to the list of favorite templates. The new favorite template is always added at the first position in favorite list.

The order in the list of favorite can be changed

See also

#changeTemplateFavoriteListOrder(Context, List, OperationListener)

Parameters

context
    **Context** The application context.
templateUuid
    **String** the template uuid
callback
    **[OperationListener]:** callback to
    handle operation events.