Conversation Class |
Namespace: Microsoft.CognitiveServices.SpeechRecognition
public class Conversation : IConversation, IDisposable
The Conversation type exposes the following members.
Name | Description | |
---|---|---|
![]() | Conversation |
Initializes a new instance of the Conversation class.
|
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.
|
![]() | AudioStop |
The microphone is turned off and the connection to the Speech Recognition Server is severed.
|
![]() | CreateAudioStream |
Gets an audio stream with no format specified. This method is used
when the format information can be detected within the stream itself.
|
![]() | CreateAudioStream(SpeechAudioFormat) |
Gets an audio stream with the specified format. Use this method
when sending raw audio samples.
|
![]() | Dispose | Releases all resources used by the Conversation |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the Conversation and optionally releases the managed resources |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | AuthenticationUri |
Represents the authentication service endpoint
|
Name | Description | |
---|---|---|
![]() | OnConversationError |
Event fired when a conversation error occurs
|
![]() | OnIntent |
Event fired when a Speech Recognition has finished, the recognized text has
been parsed with LUIS for intent and entities, and the structured JSON result is available.
|
![]() | OnMicrophoneStatus |
Event fired when the microphone recording status has changed.
|
![]() | OnPartialResponseReceived |
Event fired when a partial response is received
|
![]() | OnResponseReceived |
Event fired when a response is received
|