Table of Contents

Class SendDataRequest

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

Constructors

SendDataRequest()

public SendDataRequest()

SendDataRequest(SendDataRequest)

public SendDataRequest(SendDataRequest other)

Parameters

other SendDataRequest

Fields

DataFieldNumber

Field number for the "data" field.

public const int DataFieldNumber = 2

Field Value

int

DestinationIdentitiesFieldNumber

Field number for the "destination_identities" field.

public const int DestinationIdentitiesFieldNumber = 6

Field Value

int

DestinationSidsFieldNumber

Field number for the "destination_sids" field.

public const int DestinationSidsFieldNumber = 4

Field Value

int

KindFieldNumber

Field number for the "kind" field.

public const int KindFieldNumber = 3

Field Value

int

NonceFieldNumber

Field number for the "nonce" field.

public const int NonceFieldNumber = 7

Field Value

int

RoomFieldNumber

Field number for the "room" field.

public const int RoomFieldNumber = 1

Field Value

int

TopicFieldNumber

Field number for the "topic" field.

public const int TopicFieldNumber = 5

Field Value

int

Properties

Data

public ByteString Data { get; set; }

Property Value

ByteString

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DestinationIdentities

when set, only forward to these identities

public RepeatedField<string> DestinationIdentities { get; }

Property Value

RepeatedField<string>

DestinationSids

mark deprecated

[Obsolete]
public RepeatedField<string> DestinationSids { get; }

Property Value

RepeatedField<string>

HasTopic

Gets whether the "topic" field is set

public bool HasTopic { get; }

Property Value

bool

Kind

public DataPacket.Types.Kind Kind { get; set; }

Property Value

DataPacket.Types.Kind

Nonce

added by SDK to enable de-duping of messages, for INTERNAL USE ONLY

public ByteString Nonce { get; set; }

Property Value

ByteString

Parser

public static MessageParser<SendDataRequest> Parser { get; }

Property Value

MessageParser<SendDataRequest>

Room

public string Room { get; set; }

Property Value

string

Topic

public string Topic { 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.

ClearTopic()

Clears the value of the "topic" field

public void ClearTopic()

Clone()

Creates a deep clone of this object.

public SendDataRequest Clone()

Returns

SendDataRequest

A deep clone of this object.

Equals(SendDataRequest)

public bool Equals(SendDataRequest other)

Parameters

other SendDataRequest

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

Merges the given message into this one.

public void MergeFrom(SendDataRequest other)

Parameters

other SendDataRequest

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.