Package com.skt.nugu.sdk.platform.android.ux.template.controller

Types

Link copied to clipboard
open class DefaultTemplateHandler(    nuguProvider: TemplateRenderer.NuguClientProvider,     val templateInfo: TemplateHandler.TemplateInfo,     fragment: Fragment) : TemplateHandler

TemplateHandler which is used by default in ux-kit. This composites TemplateAndroidHandler, TemplateMediaHandler, TemplateNuguHandler and execute one of them appropriately.

Link copied to clipboard
open class TemplateAndroidHandler(fragment: Fragment, val templateInfo: TemplateHandler.TemplateInfo) : TemplateHandler

TemplateHandler focused on interaction with Android component such as Fragment

Link copied to clipboard
interface TemplateHandler

Basically Template renders figures to inform. And control logic exists on client side. Both side could notify there updated state and directly request specific action to other side. This class is interface for these things to be done.

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

TemplateHandler focused on Media state observing and interaction with it

Link copied to clipboard
open class TemplateNuguHandler(nuguProvider: TemplateRenderer.NuguClientProvider, val templateInfo: TemplateHandler.TemplateInfo) : TemplateHandler

TemplateHandler focused on interaction with NUGU component