Table of Contents

Class AnalyticsStat

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

Constructors

AnalyticsStat()

public AnalyticsStat()

AnalyticsStat(AnalyticsStat)

public AnalyticsStat(AnalyticsStat other)

Parameters

other AnalyticsStat

Fields

AnalyticsKeyFieldNumber

Field number for the "analytics_key" field.

public const int AnalyticsKeyFieldNumber = 1

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 14

Field Value

int

KindFieldNumber

Field number for the "kind" field.

public const int KindFieldNumber = 2

Field Value

int

MedianScoreFieldNumber

Field number for the "median_score" field.

public const int MedianScoreFieldNumber = 13

Field Value

int

MimeFieldNumber

Field number for the "mime" field.

public const int MimeFieldNumber = 11

Field Value

int

MinScoreFieldNumber

Field number for the "min_score" field.

public const int MinScoreFieldNumber = 12

Field Value

int

NodeFieldNumber

Field number for the "node" field.

public const int NodeFieldNumber = 4

Field Value

int

ParticipantIdFieldNumber

Field number for the "participant_id" field.

public const int ParticipantIdFieldNumber = 7

Field Value

int

RoomIdFieldNumber

Field number for the "room_id" field.

public const int RoomIdFieldNumber = 5

Field Value

int

RoomNameFieldNumber

Field number for the "room_name" field.

public const int RoomNameFieldNumber = 6

Field Value

int

ScoreFieldNumber

Field number for the "score" field.

public const int ScoreFieldNumber = 9

Field Value

int

StreamsFieldNumber

Field number for the "streams" field.

public const int StreamsFieldNumber = 10

Field Value

int

TimeStampFieldNumber

Field number for the "time_stamp" field.

public const int TimeStampFieldNumber = 3

Field Value

int

TrackIdFieldNumber

Field number for the "track_id" field.

public const int TrackIdFieldNumber = 8

Field Value

int

Properties

AnalyticsKey

public string AnalyticsKey { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Id

unique id for this stat

public string Id { get; set; }

Property Value

string

Kind

public StreamType Kind { get; set; }

Property Value

StreamType

MedianScore

public float MedianScore { get; set; }

Property Value

float

Mime

public string Mime { get; set; }

Property Value

string

MinScore

public float MinScore { get; set; }

Property Value

float

Node

public string Node { get; set; }

Property Value

string

Parser

public static MessageParser<AnalyticsStat> Parser { get; }

Property Value

MessageParser<AnalyticsStat>

ParticipantId

public string ParticipantId { get; set; }

Property Value

string

RoomId

public string RoomId { get; set; }

Property Value

string

RoomName

public string RoomName { get; set; }

Property Value

string

Score

average score

public float Score { get; set; }

Property Value

float

Streams

public RepeatedField<AnalyticsStream> Streams { get; }

Property Value

RepeatedField<AnalyticsStream>

TimeStamp

public Timestamp TimeStamp { get; set; }

Property Value

Timestamp

TrackId

public string TrackId { 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 AnalyticsStat Clone()

Returns

AnalyticsStat

A deep clone of this object.

Equals(AnalyticsStat)

public bool Equals(AnalyticsStat other)

Parameters

other AnalyticsStat

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

Merges the given message into this one.

public void MergeFrom(AnalyticsStat other)

Parameters

other AnalyticsStat

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.