Renderer

interface Renderer

The renderer of display agent. When receive an directive for display, the agent will request the renderer to render it.

Functions

Link copied to clipboard
abstract fun clear(templateId: String, force: Boolean)

Used to notify the renderer when display should be cleared .

Link copied to clipboard
abstract fun render(    templateId: String,     templateType: String,     templateContent: String,     header: Header,     contextLayer: DisplayAgentInterface.ContextLayer,     parentTemplateId: String?): Boolean

Used to notify the renderer when received a display directive.

Link copied to clipboard
abstract fun update(templateId: String, templateContent: String)

Used to notify the renderer when display should be updated. .