Table of Contents

Class FeatureUsageInfo

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

Constructors

FeatureUsageInfo()

public FeatureUsageInfo()

FeatureUsageInfo(FeatureUsageInfo)

public FeatureUsageInfo(FeatureUsageInfo other)

Parameters

other FeatureUsageInfo

Fields

FeatureFieldNumber

Field number for the "feature" field.

public const int FeatureFieldNumber = 1

Field Value

int

FeatureInfoFieldNumber

Field number for the "feature_info" field.

public const int FeatureInfoFieldNumber = 9

Field Value

int

ParticipantIdFieldNumber

Field number for the "participant_id" field.

public const int ParticipantIdFieldNumber = 6

Field Value

int

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 5

Field Value

int

ProjectIdFieldNumber

Field number for the "project_id" field.

public const int ProjectIdFieldNumber = 2

Field Value

int

RoomIdFieldNumber

Field number for the "room_id" field.

public const int RoomIdFieldNumber = 4

Field Value

int

RoomNameFieldNumber

Field number for the "room_name" field.

public const int RoomNameFieldNumber = 3

Field Value

int

TimeRangesFieldNumber

Field number for the "time_ranges" field.

public const int TimeRangesFieldNumber = 8

Field Value

int

TrackIdFieldNumber

Field number for the "track_id" field.

public const int TrackIdFieldNumber = 7

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Feature

public FeatureUsageInfo.Types.Feature Feature { get; set; }

Property Value

FeatureUsageInfo.Types.Feature

FeatureInfo

Feature specific metadata included in the report

public MapField<string, string> FeatureInfo { get; }

Property Value

MapField<string, string>

Parser

public static MessageParser<FeatureUsageInfo> Parser { get; }

Property Value

MessageParser<FeatureUsageInfo>

ParticipantId

public string ParticipantId { get; set; }

Property Value

string

ParticipantIdentity

public string ParticipantIdentity { get; set; }

Property Value

string

ProjectId

public string ProjectId { get; set; }

Property Value

string

RoomId

public string RoomId { get; set; }

Property Value

string

RoomName

public string RoomName { get; set; }

Property Value

string

TimeRanges

time ranges during which the feature was enabled. for e. g., noise cancellation may not be applied when a media track is paused/muted, this allows reporting only periods during which a feature is active.

public RepeatedField<TimeRange> TimeRanges { get; }

Property Value

RepeatedField<TimeRange>

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 FeatureUsageInfo Clone()

Returns

FeatureUsageInfo

A deep clone of this object.

Equals(FeatureUsageInfo)

public bool Equals(FeatureUsageInfo other)

Parameters

other FeatureUsageInfo

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

Merges the given message into this one.

public void MergeFrom(FeatureUsageInfo other)

Parameters

other FeatureUsageInfo

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.