Class VideoResolution
public sealed class VideoResolution : Google.Protobuf.IMessage<VideoResolution>, Google.Protobuf.IBufferMessage
- Inheritance
-
VideoResolution
- Implements
-
IBufferMessage
- Extension Methods
Constructors
VideoResolution()
public VideoResolution()
VideoResolution(VideoResolution)
public VideoResolution(VideoResolution other)
Parameters
otherVideoResolution
Fields
FrameRateFieldNumber
Field number for the "frame_rate" field.
public const int FrameRateFieldNumber = 3
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
FrameRate
public double FrameRate { get; set; }
Property Value
HasFrameRate
Gets whether the "frame_rate" field is set
public bool HasFrameRate { 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<VideoResolution> Parser { get; }
Property Value
- MessageParser<VideoResolution>
Width
public uint Width { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearFrameRate()
Clears the value of the "frame_rate" field
public void ClearFrameRate()
ClearHeight()
Clears the value of the "height" field
public void ClearHeight()
ClearWidth()
Clears the value of the "width" field
public void ClearWidth()
Clone()
public VideoResolution Clone()
Returns
Equals(VideoResolution)
public bool Equals(VideoResolution other)
Parameters
otherVideoResolution
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(VideoResolution)
public void MergeFrom(VideoResolution other)
Parameters
otherVideoResolution
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream