Table of Contents

Class AnalyticsClientMeta

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

Constructors

AnalyticsClientMeta()

public AnalyticsClientMeta()

AnalyticsClientMeta(AnalyticsClientMeta)

public AnalyticsClientMeta(AnalyticsClientMeta other)

Parameters

other AnalyticsClientMeta

Fields

ClientAddrFieldNumber

Field number for the "client_addr" field.

public const int ClientAddrFieldNumber = 3

Field Value

int

ClientConnectTimeFieldNumber

Field number for the "client_connect_time" field.

public const int ClientConnectTimeFieldNumber = 4

Field Value

int

ConnectionTypeFieldNumber

Field number for the "connection_type" field.

public const int ConnectionTypeFieldNumber = 5

Field Value

int

CountryFieldNumber

Field number for the "country" field.

public const int CountryFieldNumber = 8

Field Value

int

GeoHashFieldNumber

Field number for the "geo_hash" field.

public const int GeoHashFieldNumber = 7

Field Value

int

IspAsnFieldNumber

Field number for the "isp_asn" field.

public const int IspAsnFieldNumber = 9

Field Value

int

NodeFieldNumber

Field number for the "node" field.

public const int NodeFieldNumber = 2

Field Value

int

ReconnectReasonFieldNumber

Field number for the "reconnect_reason" field.

public const int ReconnectReasonFieldNumber = 6

Field Value

int

RegionFieldNumber

Field number for the "region" field.

public const int RegionFieldNumber = 1

Field Value

int

Properties

ClientAddr

public string ClientAddr { get; set; }

Property Value

string

ClientConnectTime

public uint ClientConnectTime { get; set; }

Property Value

uint

ConnectionType

udp, tcp, turn

public string ConnectionType { get; set; }

Property Value

string

Country

public string Country { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

GeoHash

public string GeoHash { get; set; }

Property Value

string

HasCountry

Gets whether the "country" field is set

public bool HasCountry { get; }

Property Value

bool

HasGeoHash

Gets whether the "geo_hash" field is set

public bool HasGeoHash { get; }

Property Value

bool

HasIspAsn

Gets whether the "isp_asn" field is set

public bool HasIspAsn { get; }

Property Value

bool

IspAsn

public uint IspAsn { get; set; }

Property Value

uint

Node

public string Node { get; set; }

Property Value

string

Parser

public static MessageParser<AnalyticsClientMeta> Parser { get; }

Property Value

MessageParser<AnalyticsClientMeta>

ReconnectReason

public ReconnectReason ReconnectReason { get; set; }

Property Value

ReconnectReason

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.

ClearCountry()

Clears the value of the "country" field

public void ClearCountry()

ClearGeoHash()

Clears the value of the "geo_hash" field

public void ClearGeoHash()

ClearIspAsn()

Clears the value of the "isp_asn" field

public void ClearIspAsn()

Clone()

Creates a deep clone of this object.

public AnalyticsClientMeta Clone()

Returns

AnalyticsClientMeta

A deep clone of this object.

Equals(AnalyticsClientMeta)

public bool Equals(AnalyticsClientMeta other)

Parameters

other AnalyticsClientMeta

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

Merges the given message into this one.

public void MergeFrom(AnalyticsClientMeta other)

Parameters

other AnalyticsClientMeta

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.