Class ClientConfiguration
server provided client configuration
public sealed class ClientConfiguration : IMessage<ClientConfiguration>, IEquatable<ClientConfiguration>, IDeepCloneable<ClientConfiguration>, IBufferMessage, IMessage
- Inheritance
-
ClientConfiguration
- Implements
-
IMessage<ClientConfiguration>IDeepCloneable<ClientConfiguration>IBufferMessageIMessage
- Inherited Members
Constructors
ClientConfiguration()
public ClientConfiguration()
ClientConfiguration(ClientConfiguration)
public ClientConfiguration(ClientConfiguration other)
Parameters
otherClientConfiguration
Fields
DisabledCodecsFieldNumber
Field number for the "disabled_codecs" field.
public const int DisabledCodecsFieldNumber = 4
Field Value
ForceRelayFieldNumber
Field number for the "force_relay" field.
public const int ForceRelayFieldNumber = 5
Field Value
ResumeConnectionFieldNumber
Field number for the "resume_connection" field.
public const int ResumeConnectionFieldNumber = 3
Field Value
ScreenFieldNumber
Field number for the "screen" field.
public const int ScreenFieldNumber = 2
Field Value
VideoFieldNumber
Field number for the "video" field.
public const int VideoFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisabledCodecs
public DisabledCodecs DisabledCodecs { get; set; }
Property Value
ForceRelay
public ClientConfigSetting ForceRelay { get; set; }
Property Value
Parser
public static MessageParser<ClientConfiguration> Parser { get; }
Property Value
- MessageParser<ClientConfiguration>
ResumeConnection
public ClientConfigSetting ResumeConnection { get; set; }
Property Value
Screen
public VideoConfiguration Screen { get; set; }
Property Value
Video
public VideoConfiguration Video { get; set; }
Property Value
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 ClientConfiguration Clone()
Returns
- ClientConfiguration
A deep clone of this object.
Equals(ClientConfiguration)
public bool Equals(ClientConfiguration other)
Parameters
otherClientConfiguration
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(ClientConfiguration)
Merges the given message into this one.
public void MergeFrom(ClientConfiguration other)
Parameters
otherClientConfiguration
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.