Conversation Class

Definition

Transcribes conversations from speech. Returns recognized text and speaker id. Added in 1.8.0

public sealed class Conversation : Microsoft.CognitiveServices.Speech.Internal.DisposableBase
type Conversation = class
    inherit DisposableBase
Public NotInheritable Class Conversation
Inherits DisposableBase
Inheritance
Microsoft.CognitiveServices.Speech.Internal.DisposableBase
Conversation

Properties

AuthorizationToken

Gets/sets authorization token used to communicate with the service. Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires, the caller needs to refresh it by calling this setter with a new valid token. Otherwise, the recognizer will encounter errors during recognition.

ConversationId

Gets or sets the conversation id.

OutputFormat

Gets the output format setting.

Properties

Gets the collection of properties and their values defined for this ConversationTranscriber.

SpeechRecognitionLanguage

Gets the language name that is used for recognition.

Methods

AddParticipantAsync(Participant)

Add a participant to a conversation using the Participant object asynchronously.

AddParticipantAsync(String)

Add a participant to a conversation using the user's id as an asynchronous operation.

AddParticipantAsync(User)

Add a participant to a conversation using the User object asynchronously.

CreateConversationAsync(SpeechConfig, String)

Creates a new conversation asynchronously.

DeleteConversationAsync()

Delete a conversation. After this no one will be able to join the conversation.

EndConversationAsync()

End a conversation.

LockConversationAsync()

Lock a conversation. This will prevent new participants from joining.

MuteAllParticipantsAsync()

Mute all other participants in the conversation. After this no other participants will have their speech recognitions broadcast, nor be able to send text messages.

MuteParticipantAsync(String)

Mute a participant.

RemoveParticipantAsync(Participant)

Remove a participant in a conversation using the Participant object asynchronously.

RemoveParticipantAsync(String)

Remove a participant from a conversation using a user identifier asynchronously.

RemoveParticipantAsync(User)

Remove a participant in a conversation using the User object asynchronously.

StartConversationAsync()

Start a conversation.

UnlockConversationAsync()

Unlocks a conversation.

UnmuteAllParticipantsAsync()

Unmute all other participants in the conversation.

UnmuteParticipantAsync(String)

Unmute a participant.

Applies to