DisplayAggregatorInterface

There are some displays to be render.

This is a helper interface to aggregate those displays to handle at one place.

See also

Types

Link copied to clipboard
Link copied to clipboard
interface Renderer

The renderer for DisplayAggregator Similar to com.skt.nugu.sdk.agent.display.DisplayAgentInterface.Renderer

Link copied to clipboard
enum Type : Enum<DisplayAggregatorInterface.Type>

Enum class for display types

Functions

Link copied to clipboard
abstract fun displayCardCleared(templateId: String)

Notifies the display that has been cleared.

Link copied to clipboard
abstract fun displayCardRendered(templateId: String, controller: DisplayAggregatorInterface.Controller?)

Notifies the display that has been rendered.

Link copied to clipboard
abstract fun displayCardRenderFailed(templateId: String)

Notifies the display that has been render failed.

Link copied to clipboard
abstract fun notifyUserInteraction(templateId: String)

This should be called when occur interaction(input event such as touch, drag, etc...) for display

Link copied to clipboard
abstract fun setElementSelected(    templateId: String,     token: String,     postback: String? = null,     callback: DisplayInterface.OnElementSelectedCallback? = null): String

Each element has it's own token.

Link copied to clipboard
abstract fun setRenderer(renderer: DisplayAggregatorInterface.Renderer?)

Set a renderer to interact with the display agent.

Inheritors

Link copied to clipboard