Class InputAudioState
public sealed class InputAudioState : IMessage<InputAudioState>, IEquatable<InputAudioState>, IDeepCloneable<InputAudioState>, IBufferMessage, IMessage
- Inheritance
-
InputAudioState
- Implements
-
IMessage<InputAudioState>IDeepCloneable<InputAudioState>IBufferMessageIMessage
- Inherited Members
Constructors
InputAudioState()
public InputAudioState()
InputAudioState(InputAudioState)
public InputAudioState(InputAudioState other)
Parameters
otherInputAudioState
Fields
AverageBitrateFieldNumber
Field number for the "average_bitrate" field.
public const int AverageBitrateFieldNumber = 2
Field Value
ChannelsFieldNumber
Field number for the "channels" field.
public const int ChannelsFieldNumber = 3
Field Value
MimeTypeFieldNumber
Field number for the "mime_type" field.
public const int MimeTypeFieldNumber = 1
Field Value
SampleRateFieldNumber
Field number for the "sample_rate" field.
public const int SampleRateFieldNumber = 4
Field Value
Properties
AverageBitrate
public uint AverageBitrate { get; set; }
Property Value
Channels
public uint Channels { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
MimeType
public string MimeType { get; set; }
Property Value
Parser
public static MessageParser<InputAudioState> Parser { get; }
Property Value
- MessageParser<InputAudioState>
SampleRate
public uint SampleRate { 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.
Clone()
Creates a deep clone of this object.
public InputAudioState Clone()
Returns
- InputAudioState
A deep clone of this object.
Equals(InputAudioState)
public bool Equals(InputAudioState other)
Parameters
otherInputAudioState
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(InputAudioState)
Merges the given message into this one.
public void MergeFrom(InputAudioState other)
Parameters
otherInputAudioState
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.