Click or drag to resize
Conversation Class
Base class for Conversational Understanding Sessions
Inheritance Hierarchy

Namespace: Microsoft.ProjectOxford.SpeechRecognition
Assembly: SpeechClient (in SpeechClient.dll) Version: 0.0.0.0
Syntax
public class Conversation : IConversation, 
	IDisposable

The Conversation type exposes the following members.

Constructors
  NameDescription
Public methodConversation
Initializes a new instance of the Conversation class.
Top
Methods
  NameDescription
Public methodAudioStart
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.
Public methodAudioStop
The microphone is turned off and the connection to the Speech Recognition Server is severed.
Public methodCreateAudioStream
Gets an audio stream with no format specified. This method is used when the format information can be detected within the stream itself.
Public methodCreateAudioStream(SpeechAudioFormat)
Gets an audio stream with the specified format. Use this method when sending raw audio samples.
Public methodDispose
Releases all resources used by the Conversation
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Conversation and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventOnConversationError
Event fired when a conversation error occurs
Public eventOnIntent
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.
Public eventOnMicrophoneStatus
Event fired when the microphone recording status has changed.
Public eventOnPartialResponseReceived
Event fired when a partial response is received
Public eventOnResponseReceived
Event fired when a response is received
Top
See Also