Class VideoSourceStats
public sealed class VideoSourceStats : Google.Protobuf.IMessage<VideoSourceStats>, Google.Protobuf.IBufferMessage
- Inheritance
-
VideoSourceStats
- Implements
-
IBufferMessage
- Extension Methods
Constructors
VideoSourceStats()
public VideoSourceStats()
VideoSourceStats(VideoSourceStats)
public VideoSourceStats(VideoSourceStats other)
Parameters
otherVideoSourceStats
Fields
FramesFieldNumber
Field number for the "frames" field.
public const int FramesFieldNumber = 3
Field Value
FramesPerSecondFieldNumber
Field number for the "frames_per_second" field.
public const int FramesPerSecondFieldNumber = 4
Field Value
HeightFieldNumber
Field number for the "height" field.
public const int HeightFieldNumber = 2
Field Value
WidthFieldNumber
Field number for the "width" field.
public const int WidthFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Frames
public uint Frames { get; set; }
Property Value
FramesPerSecond
public double FramesPerSecond { get; set; }
Property Value
HasFrames
Gets whether the "frames" field is set
public bool HasFrames { get; }
Property Value
HasFramesPerSecond
Gets whether the "frames_per_second" field is set
public bool HasFramesPerSecond { get; }
Property Value
HasHeight
Gets whether the "height" field is set
public bool HasHeight { get; }
Property Value
HasWidth
Gets whether the "width" field is set
public bool HasWidth { get; }
Property Value
Height
public uint Height { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<VideoSourceStats> Parser { get; }
Property Value
- MessageParser<VideoSourceStats>
Width
public uint Width { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearFrames()
Clears the value of the "frames" field
public void ClearFrames()
ClearFramesPerSecond()
Clears the value of the "frames_per_second" field
public void ClearFramesPerSecond()
ClearHeight()
Clears the value of the "height" field
public void ClearHeight()
ClearWidth()
Clears the value of the "width" field
public void ClearWidth()
Clone()
public VideoSourceStats Clone()
Returns
Equals(VideoSourceStats)
public bool Equals(VideoSourceStats other)
Parameters
otherVideoSourceStats
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(VideoSourceStats)
public void MergeFrom(VideoSourceStats other)
Parameters
otherVideoSourceStats
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream