Table of Contents

Class PublishTranscriptionRequest

Namespace
LiveKit.Proto

Publish transcription messages to room

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

Constructors

PublishTranscriptionRequest()

public PublishTranscriptionRequest()

PublishTranscriptionRequest(PublishTranscriptionRequest)

public PublishTranscriptionRequest(PublishTranscriptionRequest other)

Parameters

other PublishTranscriptionRequest

Fields

LocalParticipantHandleFieldNumber

Field number for the "local_participant_handle" field.

public const int LocalParticipantHandleFieldNumber = 1

Field Value

int

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 2

Field Value

int

RequestAsyncIdFieldNumber

Field number for the "request_async_id" field.

public const int RequestAsyncIdFieldNumber = 5

Field Value

int

SegmentsFieldNumber

Field number for the "segments" field.

public const int SegmentsFieldNumber = 4

Field Value

int

TrackIdFieldNumber

Field number for the "track_id" field.

public const int TrackIdFieldNumber = 3

Field Value

int

Properties

Descriptor

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

Property Value

MessageDescriptor

HasLocalParticipantHandle

Gets whether the "local_participant_handle" field is set

public bool HasLocalParticipantHandle { get; }

Property Value

bool

HasParticipantIdentity

Gets whether the "participant_identity" field is set

public bool HasParticipantIdentity { get; }

Property Value

bool

HasRequestAsyncId

Gets whether the "request_async_id" field is set

public bool HasRequestAsyncId { get; }

Property Value

bool

HasTrackId

Gets whether the "track_id" field is set

public bool HasTrackId { get; }

Property Value

bool

LocalParticipantHandle

public ulong LocalParticipantHandle { get; set; }

Property Value

ulong

Parser

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

Property Value

MessageParser<PublishTranscriptionRequest>

ParticipantIdentity

public string ParticipantIdentity { get; set; }

Property Value

string

RequestAsyncId

public ulong RequestAsyncId { get; set; }

Property Value

ulong

Segments

public Google.Protobuf.Collections.RepeatedField<TranscriptionSegment> Segments { get; }

Property Value

RepeatedField<TranscriptionSegment>

TrackId

public string TrackId { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearLocalParticipantHandle()

Clears the value of the "local_participant_handle" field

public void ClearLocalParticipantHandle()

ClearParticipantIdentity()

Clears the value of the "participant_identity" field

public void ClearParticipantIdentity()

ClearRequestAsyncId()

Clears the value of the "request_async_id" field

public void ClearRequestAsyncId()

ClearTrackId()

Clears the value of the "track_id" field

public void ClearTrackId()

Clone()

public PublishTranscriptionRequest Clone()

Returns

PublishTranscriptionRequest

Equals(PublishTranscriptionRequest)

public bool Equals(PublishTranscriptionRequest other)

Parameters

other PublishTranscriptionRequest

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

public void MergeFrom(PublishTranscriptionRequest other)

Parameters

other PublishTranscriptionRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream