AudioPlayerTemplateHandler

Constructors

Link copied to clipboard
fun AudioPlayerTemplateHandler(    playSynchronizer: PlaySynchronizerInterface,     sessionManager: SessionManagerInterface,     interLayerDisplayPolicyManager: InterLayerDisplayPolicyManager)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun cancelDirective(messageId: String)
Link copied to clipboard
open override fun displayCardCleared(templateId: String)

Notifies the display that has been cleared.

Link copied to clipboard
open override fun displayCardRendered(templateId: String, controller: AudioPlayerDisplayInterface.Controller?)

Notifies the display that has been rendered.

Link copied to clipboard
open override fun displayCardRenderFailed(templateId: String)

Notifies the display that has been render failed.

Link copied to clipboard
open override fun getPlayContext(): PlayStackManagerInterface.PlayContext?
Link copied to clipboard
open override fun handleDirective(messageId: String): Boolean
Link copied to clipboard
open override fun onMetadataUpdate(playServiceId: String, jsonMetaData: String)
Link copied to clipboard
open override fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)
Link copied to clipboard
open override fun setElementSelected(    templateId: String,     token: String,     postback: String?,     callback: DisplayInterface.OnElementSelectedCallback?): String

Each element has it's own token.

Link copied to clipboard
open override fun setRenderer(renderer: AudioPlayerDisplayInterface.Renderer?)

Set a renderer to interact with the display agent.

Link copied to clipboard
fun shouldBeRender(directive: Directive)
Link copied to clipboard
fun shouldBeUpdate(directive: Directive)

Properties

Link copied to clipboard
open override val configurations: Map<NamespaceAndName, BlockingPolicy>