Class PeerConnectionStats
public sealed class PeerConnectionStats : Google.Protobuf.IMessage<PeerConnectionStats>, Google.Protobuf.IBufferMessage
- Inheritance
-
PeerConnectionStats
- Implements
-
IBufferMessage
- Extension Methods
Constructors
PeerConnectionStats()
public PeerConnectionStats()
PeerConnectionStats(PeerConnectionStats)
public PeerConnectionStats(PeerConnectionStats other)
Parameters
otherPeerConnectionStats
Fields
DataChannelsClosedFieldNumber
Field number for the "data_channels_closed" field.
public const int DataChannelsClosedFieldNumber = 2
Field Value
DataChannelsOpenedFieldNumber
Field number for the "data_channels_opened" field.
public const int DataChannelsOpenedFieldNumber = 1
Field Value
Properties
DataChannelsClosed
public uint DataChannelsClosed { get; set; }
Property Value
DataChannelsOpened
public uint DataChannelsOpened { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasDataChannelsClosed
Gets whether the "data_channels_closed" field is set
public bool HasDataChannelsClosed { get; }
Property Value
HasDataChannelsOpened
Gets whether the "data_channels_opened" field is set
public bool HasDataChannelsOpened { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<PeerConnectionStats> Parser { get; }
Property Value
- MessageParser<PeerConnectionStats>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearDataChannelsClosed()
Clears the value of the "data_channels_closed" field
public void ClearDataChannelsClosed()
ClearDataChannelsOpened()
Clears the value of the "data_channels_opened" field
public void ClearDataChannelsOpened()
Clone()
public PeerConnectionStats Clone()
Returns
Equals(PeerConnectionStats)
public bool Equals(PeerConnectionStats other)
Parameters
otherPeerConnectionStats
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(PeerConnectionStats)
public void MergeFrom(PeerConnectionStats other)
Parameters
otherPeerConnectionStats
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream