Class Room
Implements
IBufferMessage
IMessage
Namespace: LiveKit.Proto
Assembly: Uniform.LiveKit.Protocol.dll
Syntax
public sealed class Room : IMessage<Room>, IEquatable<Room>, IDeepCloneable<Room>, IBufferMessage, IMessage
Constructors
Room()
Declaration
Room(Room)
Declaration
Parameters
| Type |
Name |
Description |
| Room |
other |
|
Fields
ActiveRecordingFieldNumber
Field number for the "active_recording" field.
Declaration
public const int ActiveRecordingFieldNumber = 10
Field Value
CreationTimeFieldNumber
Field number for the "creation_time" field.
Declaration
public const int CreationTimeFieldNumber = 5
Field Value
CreationTimeMsFieldNumber
Field number for the "creation_time_ms" field.
Declaration
public const int CreationTimeMsFieldNumber = 15
Field Value
DepartureTimeoutFieldNumber
Field number for the "departure_timeout" field.
Declaration
public const int DepartureTimeoutFieldNumber = 14
Field Value
EmptyTimeoutFieldNumber
Field number for the "empty_timeout" field.
Declaration
public const int EmptyTimeoutFieldNumber = 3
Field Value
EnabledCodecsFieldNumber
Field number for the "enabled_codecs" field.
Declaration
public const int EnabledCodecsFieldNumber = 7
Field Value
MaxParticipantsFieldNumber
Field number for the "max_participants" field.
Declaration
public const int MaxParticipantsFieldNumber = 4
Field Value
Field number for the "metadata" field.
Declaration
public const int MetadataFieldNumber = 8
Field Value
NameFieldNumber
Field number for the "name" field.
Declaration
public const int NameFieldNumber = 2
Field Value
NumParticipantsFieldNumber
Field number for the "num_participants" field.
Declaration
public const int NumParticipantsFieldNumber = 9
Field Value
NumPublishersFieldNumber
Field number for the "num_publishers" field.
Declaration
public const int NumPublishersFieldNumber = 11
Field Value
SidFieldNumber
Field number for the "sid" field.
Declaration
public const int SidFieldNumber = 1
Field Value
TurnPasswordFieldNumber
Field number for the "turn_password" field.
Declaration
public const int TurnPasswordFieldNumber = 6
Field Value
VersionFieldNumber
Field number for the "version" field.
Declaration
public const int VersionFieldNumber = 13
Field Value
Properties
ActiveRecording
Declaration
public bool ActiveRecording { get; set; }
Property Value
CreationTime
Declaration
public long CreationTime { get; set; }
Property Value
CreationTimeMs
Declaration
public long CreationTimeMs { get; set; }
Property Value
DepartureTimeout
Declaration
public uint DepartureTimeout { get; set; }
Property Value
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
| Type |
Description |
| MessageDescriptor |
|
EmptyTimeout
Declaration
public uint EmptyTimeout { get; set; }
Property Value
EnabledCodecs
Declaration
public RepeatedField<Codec> EnabledCodecs { get; }
Property Value
| Type |
Description |
| RepeatedField<Codec> |
|
MaxParticipants
Declaration
public uint MaxParticipants { get; set; }
Property Value
Declaration
public string Metadata { get; set; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
NumParticipants
Declaration
public uint NumParticipants { get; set; }
Property Value
NumPublishers
Declaration
public uint NumPublishers { get; set; }
Property Value
Parser
Declaration
public static MessageParser<Room> Parser { get; }
Property Value
| Type |
Description |
| MessageParser<Room> |
|
Sid
Declaration
public string Sid { get; set; }
Property Value
TurnPassword
Declaration
public string TurnPassword { get; set; }
Property Value
Version
Declaration
public TimedVersion Version { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
| Type |
Description |
| int |
The number of bytes required to write this message
to a coded output stream.
|
Clone()
Creates a deep clone of this object.
Declaration
Returns
| Type |
Description |
| Room |
A deep clone of this object.
|
Equals(Room)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Room other)
Parameters
| Type |
Name |
Description |
| Room |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object other)
Parameters
| Type |
Name |
Description |
| object |
other |
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Overrides
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
| Type |
Name |
Description |
| CodedInputStream |
input |
|
MergeFrom(Room)
Merges the given message into this one.
Declaration
public void MergeFrom(Room other)
Parameters
| Type |
Name |
Description |
| Room |
other |
|
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
| Type |
Name |
Description |
| CodedOutputStream |
output |
Coded output stream to write the data to. Must not be null.
|
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage