Table of Contents

Class RegionInfo

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class RegionInfo : IMessage<RegionInfo>, IEquatable<RegionInfo>, IDeepCloneable<RegionInfo>, IBufferMessage, IMessage
Inheritance
RegionInfo
Implements
IMessage<RegionInfo>
IDeepCloneable<RegionInfo>
IBufferMessage
IMessage
Inherited Members

Constructors

RegionInfo()

public RegionInfo()

RegionInfo(RegionInfo)

public RegionInfo(RegionInfo other)

Parameters

other RegionInfo

Fields

DistanceFieldNumber

Field number for the "distance" field.

public const int DistanceFieldNumber = 3

Field Value

int

RegionFieldNumber

Field number for the "region" field.

public const int RegionFieldNumber = 1

Field Value

int

UrlFieldNumber

Field number for the "url" field.

public const int UrlFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Distance

public long Distance { get; set; }

Property Value

long

Parser

public static MessageParser<RegionInfo> Parser { get; }

Property Value

MessageParser<RegionInfo>

Region

public string Region { get; set; }

Property Value

string

Url

public string Url { get; set; }

Property Value

string

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public RegionInfo Clone()

Returns

RegionInfo

A deep clone of this object.

Equals(RegionInfo)

public bool Equals(RegionInfo other)

Parameters

other RegionInfo

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(RegionInfo)

Merges the given message into this one.

public void MergeFrom(RegionInfo other)

Parameters

other RegionInfo

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.