DataRecognitionClientWithIntent Methods |
The DataRecognitionClientWithIntent type exposes the following members.
Name | Description | |
---|---|---|
AudioStart |
The microphone is turned on and data from the microphone is sent to the Speech Recognition Service.
A built in Silence Detector is applied to the microphone data before it is sent to the recognition service.
(Inherited from Conversation.) | |
AudioStop |
The microphone is turned off and the connection to the Speech Recognition Server is severed.
(Inherited from Conversation.) | |
CreateAudioStream |
Gets an audio stream with no format specified. This method is used
when the format information can be detected within the stream itself.
(Inherited from Conversation.) | |
CreateAudioStream(SpeechAudioFormat) |
Gets an audio stream with the specified format. Use this method
when sending raw audio samples.
(Inherited from Conversation.) | |
Dispose | (Inherited from Conversation.) | |
Dispose(Boolean) | (Inherited from DataRecognitionClient.) | |
EndAudio |
Notify the server that client is done sending audio buffers to the Speech Recognition Service.
This work is queued onto a background worker.
(Inherited from DataRecognitionClient.) | |
Equals | (Inherited from Object.) | |
Finalize |
Should only be called when client is ready to break the connection with the Speech Recognition Server.
For example, after the Speech Recognition Server returns the final speech recognition result.
(Inherited from DataRecognitionClient.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SendAudio |
Send buffers of audio to the Speech Recognition Service.Note for wave files, you can just send
data from the file right to the server. The audio must be PCM, mono, 16-bit sample, with
sample rate of 8000 Hz or 16000 Hz. In the case you are not an audio file in wave format,
and instead you have just raw data(for example audio coming over bluetooth), then before
sending up any audio data with this method, you must first send up an SpeechAudioFormat descriptor
to describe the layout and format of your raw audio data via DataRecognitionClient's sendAudioFormat()
method. This work is queued onto a background worker.
(Inherited from DataRecognitionClient.) | |
SendAudioFormat |
If you are not sending up a audio file in wave format, and instead you have just
raw data, then before sending up any audio data, you must first send up an
SpeechAudioFormat descriptor to describe the layout and format of your raw audio data.
The audio must be PCM, mono, 16-bit sample, with sample rate of 8000 Hz or 16000 Hz.
(Inherited from DataRecognitionClient.) | |
ToString | (Inherited from Object.) |