DefaultSpeakerAgent

class DefaultSpeakerAgent(contextManager: ContextManagerInterface, messageSender: MessageSender) : AbstractCapabilityAgent, SpeakerManagerInterface

Constructors

Link copied to clipboard
fun DefaultSpeakerAgent(contextManager: ContextManagerInterface, messageSender: MessageSender)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class SpeakerContext(    val group: String?,     val minVolume: Int?,     val maxVolume: Int?,     val defaultVolumeStep: Int?,     val defaultVolumeLevel: Int?,     var settings: Speaker.SpeakerSettings?)

Functions

Link copied to clipboard
open override fun addSpeaker(speaker: Speaker)
Link copied to clipboard
open override fun addSpeakerManagerObserver(observer: SpeakerManagerObserver)
Link copied to clipboard
open override fun cancelDirective(messageId: String)
Link copied to clipboard
open override fun getSpeakerSettings(type: Speaker.Type): Speaker.SpeakerSettings?
Link copied to clipboard
open override fun handleDirective(messageId: String): Boolean
Link copied to clipboard
open override fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)
Link copied to clipboard
open override fun provideState(    contextSetter: ContextSetterInterface,     namespaceAndName: NamespaceAndName,     contextType: ContextType,     stateRequestToken: Int)
Link copied to clipboard
open override fun removeSpeakerManagerObserver(observer: SpeakerManagerObserver)

Properties

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