DialogUXStateAggregator
class DialogUXStateAggregator( transitionDelayForIdleState: Long, sessionManager: SessionManagerInterface, seamlessFocusManager: SeamlessFocusManagerInterface, displayAgent: DisplayAgentInterface?) : DialogUXStateAggregatorInterface, ASRAgentInterface.OnStateChangeListener, TTSAgentInterface.Listener, ConnectionStatusListener, InteractionControlManagerInterface.Listener, ChipsAgentInterface.Listener, DirectiveSequencerInterface.OnDirectiveHandlingListener
Content copied to clipboard
Constructors
Link copied to clipboard
fun DialogUXStateAggregator( transitionDelayForIdleState: Long, sessionManager: SessionManagerInterface, seamlessFocusManager: SeamlessFocusManagerInterface, displayAgent: DisplayAgentInterface?)
Content copied to clipboard
Types
Link copied to clipboard
data class NotifyParams( val state: DialogUXStateAggregatorInterface.DialogUXState, val dialogMode: Boolean, val chips: RenderDirective.Payload?, val sessionActivated: Boolean)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun addListener(listener: DialogUXStateAggregatorInterface.Listener)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onConnectionStatusChanged(status: ConnectionStatusListener.Status, reason: ConnectionStatusListener.ChangedReason)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onReceiveTTSText(text: String?, dialogRequestId: String)
Content copied to clipboard
Called to receive a text will be playing
Link copied to clipboard
Link copied to clipboard
Called when state changed
open override fun onStateChanged(state: TTSAgentInterface.State, dialogRequestId: String)
Content copied to clipboard
Called to notify an change of state
Link copied to clipboard
open override fun removeListener(listener: DialogUXStateAggregatorInterface.Listener)
Content copied to clipboard
Link copied to clipboard