Class ClientInfo
Implements
IBufferMessage
IMessage
Namespace: LiveKit.Proto
Assembly: Uniform.LiveKit.Protocol.dll
Syntax
public sealed class ClientInfo : IMessage<ClientInfo>, IEquatable<ClientInfo>, IDeepCloneable<ClientInfo>, IBufferMessage, IMessage
Constructors
ClientInfo()
Declaration
ClientInfo(ClientInfo)
Declaration
public ClientInfo(ClientInfo other)
Parameters
Fields
AddressFieldNumber
Field number for the "address" field.
Declaration
public const int AddressFieldNumber = 9
Field Value
BrowserFieldNumber
Field number for the "browser" field.
Declaration
public const int BrowserFieldNumber = 7
Field Value
BrowserVersionFieldNumber
Field number for the "browser_version" field.
Declaration
public const int BrowserVersionFieldNumber = 8
Field Value
CapabilitiesFieldNumber
Field number for the "capabilities" field.
Declaration
public const int CapabilitiesFieldNumber = 13
Field Value
ClientProtocolFieldNumber
Field number for the "client_protocol" field.
Declaration
public const int ClientProtocolFieldNumber = 12
Field Value
DeviceModelFieldNumber
Field number for the "device_model" field.
Declaration
public const int DeviceModelFieldNumber = 6
Field Value
NetworkFieldNumber
Field number for the "network" field.
Declaration
public const int NetworkFieldNumber = 10
Field Value
OsFieldNumber
Field number for the "os" field.
Declaration
public const int OsFieldNumber = 4
Field Value
OsVersionFieldNumber
Field number for the "os_version" field.
Declaration
public const int OsVersionFieldNumber = 5
Field Value
OtherSdksFieldNumber
Field number for the "other_sdks" field.
Declaration
public const int OtherSdksFieldNumber = 11
Field Value
ProtocolFieldNumber
Field number for the "protocol" field.
Declaration
public const int ProtocolFieldNumber = 3
Field Value
SdkFieldNumber
Field number for the "sdk" field.
Declaration
public const int SdkFieldNumber = 1
Field Value
VersionFieldNumber
Field number for the "version" field.
Declaration
public const int VersionFieldNumber = 2
Field Value
Properties
Address
Declaration
public string Address { get; set; }
Property Value
Browser
Declaration
public string Browser { get; set; }
Property Value
BrowserVersion
Declaration
public string BrowserVersion { get; set; }
Property Value
Capabilities
capabilities the client advertises. Populated automatically by each SDK;
not a user-configurable setting.
Declaration
public RepeatedField<ClientInfo.Types.Capability> Capabilities { get; }
Property Value
ClientProtocol
Declaration
public int ClientProtocol { get; set; }
Property Value
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
| Type |
Description |
| MessageDescriptor |
|
DeviceModel
Declaration
public string DeviceModel { get; set; }
Property Value
Network
wifi, wired, cellular, vpn, empty if not known
Declaration
public string Network { get; set; }
Property Value
Os
Declaration
public string Os { get; set; }
Property Value
OsVersion
Declaration
public string OsVersion { get; set; }
Property Value
OtherSdks
comma separated list of additional LiveKit SDKs in use of this client, with versions
e.g. "components-js:1.2.3,track-processors-js:1.2.3"
Declaration
public string OtherSdks { get; set; }
Property Value
Parser
Declaration
public static MessageParser<ClientInfo> Parser { get; }
Property Value
Protocol
Declaration
public int Protocol { get; set; }
Property Value
Sdk
Declaration
public ClientInfo.Types.SDK Sdk { get; set; }
Property Value
Version
Declaration
public string 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
public ClientInfo Clone()
Returns
| Type |
Description |
| ClientInfo |
A deep clone of this object.
|
Equals(ClientInfo)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ClientInfo other)
Parameters
| Type |
Name |
Description |
| ClientInfo |
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(ClientInfo)
Merges the given message into this one.
Declaration
public void MergeFrom(ClientInfo other)
Parameters
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