TemplateMediaHandler

open class TemplateMediaHandler(nuguProvider: TemplateRenderer.NuguClientProvider, val templateInfo: TemplateHandler.TemplateInfo) : TemplateHandler

TemplateHandler focused on Media state observing and interaction with it

Constructors

Link copied to clipboard
fun TemplateMediaHandler(nuguProvider: TemplateRenderer.NuguClientProvider, templateInfo: TemplateHandler.TemplateInfo)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun getNuguClient(): NuguAndroidClient
Link copied to clipboard
open fun onChipSelected(text: String)
Link copied to clipboard
open fun onCloseAllClicked()
Link copied to clipboard
open fun onCloseClicked()
Link copied to clipboard
open fun onCloseWithParents()
Link copied to clipboard
open fun onContextChanged(context: String)
Link copied to clipboard
open fun onControlResult(action: String, result: String)
Link copied to clipboard
open fun onElementSelected(tokenId: String, postback: String? = null)
Link copied to clipboard
open fun onNuguButtonSelected()
Link copied to clipboard
open override fun onPlayerCommand(command: PlayerCommand, param: String)
Link copied to clipboard
open fun onTemplateTouched()
Link copied to clipboard
open fun playTTS(text: String)
Link copied to clipboard
open override fun setClientListener(listener: TemplateHandler.ClientListener?)
Link copied to clipboard
open fun showActivity(className: String)
Link copied to clipboard
open fun showToast(text: String)

Properties

Link copied to clipboard
open override val templateInfo: TemplateHandler.TemplateInfo