Table of Contents

Class Destination

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

Constructors

Destination()

public Destination()

Destination(Destination)

public Destination(Destination other)

Parameters

other Destination

Fields

CityFieldNumber

Field number for the "city" field.

public const int CityFieldNumber = 1

Field Value

int

CountryFieldNumber

Field number for the "country" field.

public const int CountryFieldNumber = 2

Field Value

int

RegionFieldNumber

Field number for the "region" field.

public const int RegionFieldNumber = 3

Field Value

int

Properties

City

public string City { get; set; }

Property Value

string

Country

public string Country { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static MessageParser<Destination> Parser { get; }

Property Value

MessageParser<Destination>

Region

public string Region { 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 Destination Clone()

Returns

Destination

A deep clone of this object.

Equals(Destination)

public bool Equals(Destination other)

Parameters

other Destination

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

Merges the given message into this one.

public void MergeFrom(Destination other)

Parameters

other Destination

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.