Table of Contents

Class PublishDataRequest

Namespace
LiveKit.Proto

Publish data to other participants

public sealed class PublishDataRequest : Google.Protobuf.IMessage<PublishDataRequest>, Google.Protobuf.IBufferMessage
Inheritance
PublishDataRequest
Implements
IBufferMessage
Extension Methods

Constructors

PublishDataRequest()

public PublishDataRequest()

PublishDataRequest(PublishDataRequest)

public PublishDataRequest(PublishDataRequest other)

Parameters

other PublishDataRequest

Fields

DataLenFieldNumber

Field number for the "data_len" field.

public const int DataLenFieldNumber = 3

Field Value

int

DataPtrFieldNumber

Field number for the "data_ptr" field.

public const int DataPtrFieldNumber = 2

Field Value

int

DestinationIdentitiesFieldNumber

Field number for the "destination_identities" field.

public const int DestinationIdentitiesFieldNumber = 7

Field Value

int

DestinationSidsFieldNumber

Field number for the "destination_sids" field.

public const int DestinationSidsFieldNumber = 5

Field Value

int

LocalParticipantHandleFieldNumber

Field number for the "local_participant_handle" field.

public const int LocalParticipantHandleFieldNumber = 1

Field Value

int

ReliableFieldNumber

Field number for the "reliable" field.

public const int ReliableFieldNumber = 4

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 8

Field Value

int

TopicFieldNumber

Field number for the "topic" field.

public const int TopicFieldNumber = 6

Field Value

int

Properties

DataLen

public ulong DataLen { get; set; }

Property Value

ulong

DataPtr

public ulong DataPtr { get; set; }

Property Value

ulong

Descriptor

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

Property Value

MessageDescriptor

DestinationIdentities

public Google.Protobuf.Collections.RepeatedField<string> DestinationIdentities { get; }

Property Value

RepeatedField<string>

DestinationSids

[Obsolete]
public Google.Protobuf.Collections.RepeatedField<string> DestinationSids { get; }

Property Value

RepeatedField<string>

HasDataLen

Gets whether the "data_len" field is set

public bool HasDataLen { get; }

Property Value

bool

HasDataPtr

Gets whether the "data_ptr" field is set

public bool HasDataPtr { get; }

Property Value

bool

HasLocalParticipantHandle

Gets whether the "local_participant_handle" field is set

public bool HasLocalParticipantHandle { get; }

Property Value

bool

HasReliable

Gets whether the "reliable" field is set

public bool HasReliable { get; }

Property Value

bool

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

HasTopic

Gets whether the "topic" field is set

public bool HasTopic { get; }

Property Value

bool

LocalParticipantHandle

public ulong LocalParticipantHandle { get; set; }

Property Value

ulong

Parser

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

Property Value

MessageParser<PublishDataRequest>

Reliable

public bool Reliable { get; set; }

Property Value

bool

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

Topic

public string Topic { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDataLen()

Clears the value of the "data_len" field

public void ClearDataLen()

ClearDataPtr()

Clears the value of the "data_ptr" field

public void ClearDataPtr()

ClearLocalParticipantHandle()

Clears the value of the "local_participant_handle" field

public void ClearLocalParticipantHandle()

ClearReliable()

Clears the value of the "reliable" field

public void ClearReliable()

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

ClearTopic()

Clears the value of the "topic" field

public void ClearTopic()

Clone()

public PublishDataRequest Clone()

Returns

PublishDataRequest

Equals(PublishDataRequest)

public bool Equals(PublishDataRequest other)

Parameters

other PublishDataRequest

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

public void MergeFrom(PublishDataRequest other)

Parameters

other PublishDataRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream