DisplayAgentInterface
interface DisplayAgentInterface : DisplayInterface<DisplayAgentInterface.Renderer, DisplayAgentInterface.Controller>
Content copied to clipboard
The public interface for DisplayAgent
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface OnTriggerChildCallback : EventCallback<DisplayInterface.ErrorType>
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Notifies the display that has been cleared.
Link copied to clipboard
abstract fun displayCardRendered(templateId: String, controller: DisplayAgentInterface.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
abstract fun setElementSelected( templateId: String, token: String, postback: String? = null, callback: DisplayInterface.OnElementSelectedCallback? = null): String
Content copied to clipboard
Each element has it's own token.
Link copied to clipboard
Set a renderer to interact with the display agent.
Link copied to clipboard
abstract fun triggerChild( templateId: String, playServiceId: String, data: JsonObject, callback: DisplayAgentInterface.OnTriggerChildCallback?)
Content copied to clipboard