MessageAgent
class MessageAgent( client: MessageClient, ttsScenarioPlayer: TTSScenarioPlayer, contextStateProviderRegistry: ContextStateProviderRegistry, contextGetter: ContextGetterInterface, messageSender: MessageSender, directiveSequencer: DirectiveSequencerInterface, interactionControlManager: InteractionControlManagerInterface) : CapabilityAgent, MessageAgentInterface, SupportedInterfaceContextProvider, SendCandidatesDirectiveHandler.AgentController, SendMessageDirectiveHandler.Controller, GetMessageDirectiveHandler.Controller
Content copied to clipboard
Constructors
Link copied to clipboard
fun MessageAgent( client: MessageClient, ttsScenarioPlayer: TTSScenarioPlayer, contextStateProviderRegistry: ContextStateProviderRegistry, contextGetter: ContextGetterInterface, messageSender: MessageSender, directiveSequencer: DirectiveSequencerInterface, interactionControlManager: InteractionControlManagerInterface)
Content copied to clipboard
Types
Link copied to clipboard
data class StateContext( context: Context, readActivity: TTSAgentInterface.State, token: String?) : BaseContextState
Content copied to clipboard
Functions
Link copied to clipboard
open override fun addOnPlaybackListener(listener: MessageAgentInterface.OnPlaybackListener)
Content copied to clipboard
Link copied to clipboard
open override fun getMessageList(payload: GetMessagePayload, callback: GetMessageDirectiveHandler.Callback)
Content copied to clipboard
Link copied to clipboard
open override fun provideState( contextSetter: ContextSetterInterface, namespaceAndName: NamespaceAndName, contextType: ContextType, stateRequestToken: Int)
Content copied to clipboard
Link copied to clipboard
open override fun removeOnPlaybackListener(listener: MessageAgentInterface.OnPlaybackListener)
Content copied to clipboard
Link copied to clipboard
open override fun sendCandidates(payload: SendCandidatesPayload, callback: SendCandidatesDirectiveHandler.AgentCallback)
Content copied to clipboard
Link copied to clipboard
open override fun sendMessage(payload: SendMessagePayload, callback: EventCallback)
Content copied to clipboard