Class VideoSourceResolution
public sealed class VideoSourceResolution : Google.Protobuf.IMessage<VideoSourceResolution>, Google.Protobuf.IBufferMessage
- Inheritance
-
VideoSourceResolution
- Implements
-
IBufferMessage
- Extension Methods
Constructors
VideoSourceResolution()
public VideoSourceResolution()
VideoSourceResolution(VideoSourceResolution)
public VideoSourceResolution(VideoSourceResolution other)
Parameters
otherVideoSourceResolution
Fields
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
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<VideoSourceResolution> Parser { get; }
Property Value
- MessageParser<VideoSourceResolution>
Width
public uint Width { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearHeight()
Clears the value of the "height" field
public void ClearHeight()
ClearWidth()
Clears the value of the "width" field
public void ClearWidth()
Clone()
public VideoSourceResolution Clone()
Returns
Equals(VideoSourceResolution)
public bool Equals(VideoSourceResolution other)
Parameters
otherVideoSourceResolution
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(VideoSourceResolution)
public void MergeFrom(VideoSourceResolution other)
Parameters
otherVideoSourceResolution
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream