Table of Contents

Class SessionRequest.Types.UpdateIO.Types.Input

Namespace
Livekit.Agent
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class SessionRequest.Types.UpdateIO.Types.Input : IMessage<SessionRequest.Types.UpdateIO.Types.Input>, IEquatable<SessionRequest.Types.UpdateIO.Types.Input>, IDeepCloneable<SessionRequest.Types.UpdateIO.Types.Input>, IBufferMessage, IMessage
Inheritance
SessionRequest.Types.UpdateIO.Types.Input
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

Input()

public Input()

Input(Input)

public Input(SessionRequest.Types.UpdateIO.Types.Input other)

Parameters

other SessionRequest.Types.UpdateIO.Types.Input

Fields

AudioEnabledFieldNumber

Field number for the "audio_enabled" field.

public const int AudioEnabledFieldNumber = 1

Field Value

int

VideoEnabledFieldNumber

Field number for the "video_enabled" field.

public const int VideoEnabledFieldNumber = 2

Field Value

int

Properties

AudioEnabled

public bool AudioEnabled { get; set; }

Property Value

bool

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasAudioEnabled

Gets whether the "audio_enabled" field is set

public bool HasAudioEnabled { get; }

Property Value

bool

HasVideoEnabled

Gets whether the "video_enabled" field is set

public bool HasVideoEnabled { get; }

Property Value

bool

Parser

public static MessageParser<SessionRequest.Types.UpdateIO.Types.Input> Parser { get; }

Property Value

MessageParser<SessionRequest.Types.UpdateIO.Types.Input>

VideoEnabled

public bool VideoEnabled { get; set; }

Property Value

bool

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.

ClearAudioEnabled()

Clears the value of the "audio_enabled" field

public void ClearAudioEnabled()

ClearVideoEnabled()

Clears the value of the "video_enabled" field

public void ClearVideoEnabled()

Clone()

Creates a deep clone of this object.

public SessionRequest.Types.UpdateIO.Types.Input Clone()

Returns

SessionRequest.Types.UpdateIO.Types.Input

A deep clone of this object.

Equals(Input)

public bool Equals(SessionRequest.Types.UpdateIO.Types.Input other)

Parameters

other SessionRequest.Types.UpdateIO.Types.Input

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

Merges the given message into this one.

public void MergeFrom(SessionRequest.Types.UpdateIO.Types.Input other)

Parameters

other SessionRequest.Types.UpdateIO.Types.Input

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.