DefaultServerSpeechRecognizer
class DefaultServerSpeechRecognizer( inputProcessorManager: InputProcessorManagerInterface, audioEncoder: Encoder, messageSender: MessageSender) : SpeechRecognizer, InputProcessor
Content copied to clipboard
Constructors
Link copied to clipboard
fun DefaultServerSpeechRecognizer( inputProcessorManager: InputProcessorManagerInterface, audioEncoder: Encoder, messageSender: MessageSender)
Content copied to clipboard
Types
Functions
Link copied to clipboard
open override fun addListener(listener: SpeechRecognizer.OnStateChangeListener)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun notifyResult(directive: Directive, payload: AsrNotifyResultPayload)
Content copied to clipboard
Link copied to clipboard
open override fun onReceiveDirectives(dialogRequestId: String, directives: List<Directive>): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun removeListener(listener: SpeechRecognizer.OnStateChangeListener)
Content copied to clipboard
Link copied to clipboard
open override fun start( audioInputStream: SharedDataStream, audioFormat: AudioFormat, context: String, wakeupInfo: WakeupInfo?, expectSpeechDirectiveParam: DefaultASRAgent.ExpectSpeechDirectiveParam?, attribute: DialogAttribute?, epdParam: EndPointDetectorParam, resultListener: ASRAgentInterface.OnResultListener?): SpeechRecognizer.Request?
Content copied to clipboard
Link copied to clipboard
open override fun stop(cancel: Boolean, cause: ASRAgentInterface.CancelCause)
Content copied to clipboard