Class MediaSourceStats
public sealed class MediaSourceStats : Google.Protobuf.IMessage<MediaSourceStats>, Google.Protobuf.IBufferMessage
- Inheritance
-
MediaSourceStats
- Implements
-
IBufferMessage
- Extension Methods
Constructors
MediaSourceStats()
public MediaSourceStats()
MediaSourceStats(MediaSourceStats)
public MediaSourceStats(MediaSourceStats other)
Parameters
otherMediaSourceStats
Fields
KindFieldNumber
Field number for the "kind" field.
public const int KindFieldNumber = 2
Field Value
TrackIdentifierFieldNumber
Field number for the "track_identifier" field.
public const int TrackIdentifierFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasKind
Gets whether the "kind" field is set
public bool HasKind { get; }
Property Value
HasTrackIdentifier
Gets whether the "track_identifier" field is set
public bool HasTrackIdentifier { get; }
Property Value
Kind
public string Kind { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<MediaSourceStats> Parser { get; }
Property Value
- MessageParser<MediaSourceStats>
TrackIdentifier
public string TrackIdentifier { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearKind()
Clears the value of the "kind" field
public void ClearKind()
ClearTrackIdentifier()
Clears the value of the "track_identifier" field
public void ClearTrackIdentifier()
Clone()
public MediaSourceStats Clone()
Returns
Equals(MediaSourceStats)
public bool Equals(MediaSourceStats other)
Parameters
otherMediaSourceStats
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(MediaSourceStats)
public void MergeFrom(MediaSourceStats other)
Parameters
otherMediaSourceStats
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream