Megosztás a következőn keresztül:


Participant Class

Definition

Represents a participant in a conversation. Changed in 1.9.0

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

Properties

Avatar

Gets the colour of the user's avatar as an HTML hex string (e.g. FF0000 for red).

DisplayName

The participant's display name. Please note that each participant within the same conversation must have a different display name. Duplicate names within the same conversation are not allowed. You can use the Id property as another way to refer to each participant.

Id

The unique identifier for the participant.

IsHost

Gets whether or not this participant is the host.

IsMuted

Gets whether or not this participant is muted.

IsUsingTts

Gets whether or not the participant is using Text To Speech (TTS).

PreferredLanguage

The participant's preferred spoken language.

Properties

Contains properties of the participant.

VoiceSignature

The participant's voice signature. If voice signature is empty then user will not be identified.

Methods

From(String, String, String)

Creates a Participant using a user identifier, including the user's preferred language and voice signature. If voice signature is empty then the user will not be identified.

Applies to