DisplayInterface
The basic interface for display
Types
Link copied to clipboard
enum class for ErrorType
Link copied to clipboard
interface OnElementSelectedCallback : EventCallback<DisplayInterface.ErrorType>
Content copied to clipboard
callback interface for setElementSelected
Functions
Link copied to clipboard
Notifies the display that has been cleared.
Link copied to clipboard
abstract fun displayCardRendered(templateId: String, controller: 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
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.