WebAppInterface

inner class WebAppInterface(handler: TemplateHandler)

Instantiate the interface and set the context

Constructors

Link copied to clipboard
fun WebAppInterface(handler: TemplateHandler)

Functions

Link copied to clipboard
fun close()
Link copied to clipboard
fun closeAll()
Link copied to clipboard
fun invokeActivity(className: String)
Link copied to clipboard
fun onButtonEvent(eventType: String, data: String)
Link copied to clipboard
fun onChipSelected(text: String)
Link copied to clipboard
fun onContextChanged(context: String)
Link copied to clipboard
fun onControlResult(action: String, result: String)
Link copied to clipboard
fun onNuguButtonSelected()
Link copied to clipboard
fun playerCommand(command: String, param: String)
Link copied to clipboard
fun requestTTS(text: String)
Link copied to clipboard
fun showToast(toast: String)

Show a toast from the web page