DisplayAggregator
class DisplayAggregator(templateAgent: DisplayAgentInterface, audioPlayerAgent: AudioPlayerDisplayInterface) : DisplayAggregatorInterface, DirectiveGroupProcessorInterface.Listener
Content copied to clipboard
Constructors
Link copied to clipboard
fun DisplayAggregator(templateAgent: DisplayAgentInterface, audioPlayerAgent: AudioPlayerDisplayInterface)
Content copied to clipboard
Functions
Link copied to clipboard
Notifies the display that has been cleared.
Link copied to clipboard
open override fun displayCardRendered(templateId: String, controller: DisplayAggregatorInterface.Controller?)
Content copied to clipboard
Notifies the display that has been rendered.
Link copied to clipboard
Notifies the display that has been render failed.
Link copied to clipboard
This should be called when occur interaction(input event such as touch, drag, etc...) for display
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setElementSelected( templateId: String, token: String, postback: String?, callback: DisplayInterface.OnElementSelectedCallback?): String
Content copied to clipboard
Each element has it's own token.
Link copied to clipboard
open override fun setRenderer(renderer: DisplayAggregatorInterface.Renderer?)
Content copied to clipboard
Set a renderer to interact with the display agent.