Table of Contents

Class DataStream.Types.Trailer

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

Constructors

Trailer()

public Trailer()

Trailer(Trailer)

public Trailer(DataStream.Types.Trailer other)

Parameters

other DataStream.Types.Trailer

Fields

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 3

Field Value

int

ReasonFieldNumber

Field number for the "reason" field.

public const int ReasonFieldNumber = 2

Field Value

int

StreamIdFieldNumber

Field number for the "stream_id" field.

public const int StreamIdFieldNumber = 1

Field Value

int

Properties

Attributes

finalizing updates for the stream, can also include additional insights for errors or endTime for transcription

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

Property Value

MapField<string, string>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static MessageParser<DataStream.Types.Trailer> Parser { get; }

Property Value

MessageParser<DataStream.Types.Trailer>

Reason

reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)

public string Reason { get; set; }

Property Value

string

StreamId

unique identifier for this data stream

public string StreamId { 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 DataStream.Types.Trailer Clone()

Returns

DataStream.Types.Trailer

A deep clone of this object.

Equals(Trailer)

public bool Equals(DataStream.Types.Trailer other)

Parameters

other DataStream.Types.Trailer

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

Merges the given message into this one.

public void MergeFrom(DataStream.Types.Trailer other)

Parameters

other DataStream.Types.Trailer

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.