ClientHelperInterface
This is an utility interface that gathers simplified APIs in one place and provides them to clients.
Functions
Add listener to be called when there has been changes of ASRAgentInterface.State or DialogMode
add listener to be called when receive following events of STT
Add listener to be called when there has been an change of AudioPlayerAgentInterface.Listener
Add listener to be notified when connection status changed for NUGU
Add listener to be called when there has been an change of DialogUXStateAggregatorInterface.DialogUXState
Add listener to be notified when occur event of directive handling.
Add listener to be notified when send message
Add listener to be notified when receive directives from NUGU platform
Add listener to be notified when speaker status changed
Add listener to be notified when receive an event from the System Capability agent
Cancel playing tts and other directives which has same dialog request id.
Disconnect from NUGU
Return DisplayAggregatorInterface to interact with the client display
Return PlaybackRouter which send event to control audio player
Return SpeakerManagerInterface which can control volume & mute
Stop current playing TTS
Remove listener
remove event listener
Remove listener
Remove listener
Remove listener
Remove listener
Remove listener to be notified when send message
Remove listener to be notified when receive directives from NUGU platform
Remove listener
Remove listener
Send request for NUGU with text input. The client receive the same response(directive) as when they requested ASR.
Send request for TTS response given text
set renderer to interact with DisplayAggregatorInterface
Start recognizing
Stop current recognizing.