render

abstract fun render(    templateId: String,     templateType: String,     templateContent: String,     header: Header): Boolean

Used to notify the renderer when received a display directive.

It is a good time to display template.

If true returned, the renderer should call displayCardRendered after display rendered.

Return

true: if will render, false: otherwise

Parameters

templateId

the unique identifier for the template card

templateType

the template type

templateContent

the content of template in structured JSON

header

the header for render