Table of Contents

Class VideoSourceResolution

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

other VideoSourceResolution

Fields

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

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<VideoSourceResolution> Parser { get; }

Property Value

MessageParser<VideoSourceResolution>

Width

public uint Width { get; set; }

Property Value

uint

Methods

CalculateSize()

public int CalculateSize()

Returns

int

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

VideoSourceResolution

Equals(VideoSourceResolution)

public bool Equals(VideoSourceResolution other)

Parameters

other VideoSourceResolution

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(VideoSourceResolution)

public void MergeFrom(VideoSourceResolution other)

Parameters

other VideoSourceResolution

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream