SpeechRecognizer

interface SpeechRecognizer

Types

Link copied to clipboard
interface OnStateChangeListener
Link copied to clipboard
interface Request
Link copied to clipboard
enum State : Enum<SpeechRecognizer.State>

Functions

Link copied to clipboard
abstract fun addListener(listener: SpeechRecognizer.OnStateChangeListener)
Link copied to clipboard
abstract fun isRecognizing(): Boolean
Link copied to clipboard
abstract fun notifyResult(directive: Directive, payload: AsrNotifyResultPayload)
Link copied to clipboard
abstract fun removeListener(listener: SpeechRecognizer.OnStateChangeListener)
Link copied to clipboard
abstract fun start(    audioInputStream: SharedDataStream,     audioFormat: AudioFormat,     context: String,     wakeupInfo: WakeupInfo?,     expectSpeechDirectiveParam: DefaultASRAgent.ExpectSpeechDirectiveParam?,     attribute: DialogAttribute?,     epdParam: EndPointDetectorParam,     resultListener: ASRAgentInterface.OnResultListener?): SpeechRecognizer.Request?
Link copied to clipboard
abstract fun stop(cancel: Boolean, cause: ASRAgentInterface.CancelCause)

Properties

Link copied to clipboard
abstract var enablePartialResult: Boolean

Inheritors

Link copied to clipboard
Link copied to clipboard