Table of Contents

Class VideoResolution

Namespace
LiveKit.Proto
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

other VideoResolution

Fields

FrameRateFieldNumber

Field number for the "frame_rate" field.

public const int FrameRateFieldNumber = 3

Field Value

int

HeightFieldNumber

Field number for the "height" field.

public const int HeightFieldNumber = 2

Field Value

int

WidthFieldNumber

Field number for the "width" field.

public const int WidthFieldNumber = 1

Field Value

int

Properties

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

FrameRate

public double FrameRate { get; set; }

Property Value

double

HasFrameRate

Gets whether the "frame_rate" field is set

public bool HasFrameRate { get; }

Property Value

bool

HasHeight

Gets whether the "height" field is set

public bool HasHeight { get; }

Property Value

bool

HasWidth

Gets whether the "width" field is set

public bool HasWidth { get; }

Property Value

bool

Height

public uint Height { get; set; }

Property Value

uint

Parser

public static Google.Protobuf.MessageParser<VideoResolution> Parser { get; }

Property Value

MessageParser<VideoResolution>

Width

public uint Width { get; set; }

Property Value

uint

Methods

CalculateSize()

public int CalculateSize()

Returns

int

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

VideoResolution

Equals(VideoResolution)

public bool Equals(VideoResolution other)

Parameters

other VideoResolution

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(VideoResolution)

public void MergeFrom(VideoResolution other)

Parameters

other VideoResolution

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream