Class AudioRoute
public sealed class AudioRoute : IMessage<AudioRoute>, IEquatable<AudioRoute>, IDeepCloneable<AudioRoute>, IBufferMessage, IMessage
- Inheritance
-
AudioRoute
- Implements
-
IMessage<AudioRoute>IDeepCloneable<AudioRoute>IBufferMessageIMessage
- Inherited Members
Constructors
AudioRoute()
public AudioRoute()
AudioRoute(AudioRoute)
public AudioRoute(AudioRoute other)
Parameters
otherAudioRoute
Fields
ChannelFieldNumber
Field number for the "channel" field.
public const int ChannelFieldNumber = 4
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 2
Field Value
ParticipantKindFieldNumber
Field number for the "participant_kind" field.
public const int ParticipantKindFieldNumber = 3
Field Value
TrackIdFieldNumber
Field number for the "track_id" field.
public const int TrackIdFieldNumber = 1
Field Value
Properties
Channel
public AudioChannel Channel { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
HasParticipantKind
Gets whether the "participant_kind" field is set
public bool HasParticipantKind { get; }
Property Value
HasTrackId
Gets whether the "track_id" field is set
public bool HasTrackId { get; }
Property Value
MatchCase
public AudioRoute.MatchOneofCase MatchCase { get; }
Property Value
Parser
public static MessageParser<AudioRoute> Parser { get; }
Property Value
- MessageParser<AudioRoute>
ParticipantIdentity
public string ParticipantIdentity { get; set; }
Property Value
ParticipantKind
public ParticipantInfo.Types.Kind ParticipantKind { get; set; }
Property Value
TrackId
public string TrackId { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearMatch()
public void ClearMatch()
ClearParticipantIdentity()
Clears the value of the oneof if it's currently set to "participant_identity"
public void ClearParticipantIdentity()
ClearParticipantKind()
Clears the value of the oneof if it's currently set to "participant_kind"
public void ClearParticipantKind()
ClearTrackId()
Clears the value of the oneof if it's currently set to "track_id"
public void ClearTrackId()
Clone()
Creates a deep clone of this object.
public AudioRoute Clone()
Returns
- AudioRoute
A deep clone of this object.
Equals(AudioRoute)
public bool Equals(AudioRoute other)
Parameters
otherAudioRoute
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(AudioRoute)
Merges the given message into this one.
public void MergeFrom(AudioRoute other)
Parameters
otherAudioRoute
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.