Table of Contents

Class UserPacket

Namespace
LiveKit.Proto
public sealed class UserPacket : Google.Protobuf.IMessage<UserPacket>, Google.Protobuf.IBufferMessage
Inheritance
UserPacket
Implements
IBufferMessage
Extension Methods

Constructors

UserPacket()

public UserPacket()

UserPacket(UserPacket)

public UserPacket(UserPacket other)

Parameters

other UserPacket

Fields

DataFieldNumber

Field number for the "data" field.

public const int DataFieldNumber = 1

Field Value

int

TopicFieldNumber

Field number for the "topic" field.

public const int TopicFieldNumber = 2

Field Value

int

Properties

Data

public OwnedBuffer Data { get; set; }

Property Value

OwnedBuffer

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasTopic

Gets whether the "topic" field is set

public bool HasTopic { get; }

Property Value

bool

Parser

public static Google.Protobuf.MessageParser<UserPacket> Parser { get; }

Property Value

MessageParser<UserPacket>

Topic

public string Topic { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearTopic()

Clears the value of the "topic" field

public void ClearTopic()

Clone()

public UserPacket Clone()

Returns

UserPacket

Equals(UserPacket)

public bool Equals(UserPacket other)

Parameters

other UserPacket

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(UserPacket)

public void MergeFrom(UserPacket other)

Parameters

other UserPacket

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream