Struct VoiceParticipant
Represents data for a participant connected to a voice service
Syntax
public struct VoiceParticipant : IEquatable<VoiceParticipant>
Constructors
VoiceParticipant(String, VoiceId, Boolean, Boolean, Double)
Declaration
public VoiceParticipant(string displayName, VoiceId voiceId, bool isMutedForAll, bool speechDetected, double audioIntensity)
Parameters
Properties
AudioIntensity
Sets the normalized audio intensity. Goes from 0.0 to 1.0.
Declaration
public readonly double AudioIntensity { get; }
Property Value
DisplayName
Gets the participant display name. Matches Vivox.IParticipant.Account.DisplayName.
Declaration
public readonly string DisplayName { get; }
Property Value
IsMutedForAll
Sets to TRUE if the participant is muted.
Declaration
public readonly bool IsMutedForAll { get; }
Property Value
SpeechDetected
Sets to TRUE if the participant is talking.
Declaration
public bool SpeechDetected { get; set; }
Property Value
VoiceId
Gets the Vivox Participant.Id.
Declaration
public readonly VoiceId VoiceId { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| Object |
obj |
|
Returns
Overrides
Equals(VoiceParticipant)
Declaration
public bool Equals(VoiceParticipant other)
Parameters
Returns
Implements
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Extension Methods