addTemplateToFavorite

open fun addTemplateToFavorite(    @NonNull context: Context,     @NonNull templateUuid: String,     @Nullable callback: STWOperationCallback)

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

Parameters

context

Context The application context.

templateUuid

String the template uuid

callback

STWOperationCallback: callback to handle operation events.