Class ParticipantInfo
public sealed class ParticipantInfo : IMessage<ParticipantInfo>, IEquatable<ParticipantInfo>, IDeepCloneable<ParticipantInfo>, IBufferMessage, IMessage
- Inheritance
-
ParticipantInfo
- Implements
-
IMessage<ParticipantInfo>IDeepCloneable<ParticipantInfo>IBufferMessageIMessage
- Inherited Members
Constructors
ParticipantInfo()
public ParticipantInfo()
ParticipantInfo(ParticipantInfo)
public ParticipantInfo(ParticipantInfo other)
Parameters
otherParticipantInfo
Fields
AttributesFieldNumber
Field number for the "attributes" field.
public const int AttributesFieldNumber = 15
Field Value
ClientProtocolFieldNumber
Field number for the "client_protocol" field.
public const int ClientProtocolFieldNumber = 20
Field Value
DataTracksFieldNumber
Field number for the "data_tracks" field.
public const int DataTracksFieldNumber = 19
Field Value
DisconnectReasonFieldNumber
Field number for the "disconnect_reason" field.
public const int DisconnectReasonFieldNumber = 16
Field Value
IdentityFieldNumber
Field number for the "identity" field.
public const int IdentityFieldNumber = 2
Field Value
IsPublisherFieldNumber
Field number for the "is_publisher" field.
public const int IsPublisherFieldNumber = 13
Field Value
JoinedAtFieldNumber
Field number for the "joined_at" field.
public const int JoinedAtFieldNumber = 6
Field Value
JoinedAtMsFieldNumber
Field number for the "joined_at_ms" field.
public const int JoinedAtMsFieldNumber = 17
Field Value
KindDetailsFieldNumber
Field number for the "kind_details" field.
public const int KindDetailsFieldNumber = 18
Field Value
KindFieldNumber
Field number for the "kind" field.
public const int KindFieldNumber = 14
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 5
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 9
Field Value
PermissionFieldNumber
Field number for the "permission" field.
public const int PermissionFieldNumber = 11
Field Value
RegionFieldNumber
Field number for the "region" field.
public const int RegionFieldNumber = 12
Field Value
SidFieldNumber
Field number for the "sid" field.
public const int SidFieldNumber = 1
Field Value
StateFieldNumber
Field number for the "state" field.
public const int StateFieldNumber = 3
Field Value
TracksFieldNumber
Field number for the "tracks" field.
public const int TracksFieldNumber = 4
Field Value
VersionFieldNumber
Field number for the "version" field.
public const int VersionFieldNumber = 10
Field Value
Properties
Attributes
public MapField<string, string> Attributes { get; }
Property Value
ClientProtocol
protocol version used for client feature compatibility
public int ClientProtocol { get; set; }
Property Value
DataTracks
public RepeatedField<DataTrackInfo> DataTracks { get; }
Property Value
- RepeatedField<DataTrackInfo>
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisconnectReason
public DisconnectReason DisconnectReason { get; set; }
Property Value
Identity
public string Identity { get; set; }
Property Value
IsPublisher
indicates the participant has an active publisher connection and can publish to the server
public bool IsPublisher { get; set; }
Property Value
JoinedAt
timestamp when participant joined room, in seconds
public long JoinedAt { get; set; }
Property Value
JoinedAtMs
timestamp when participant joined room, in milliseconds
public long JoinedAtMs { get; set; }
Property Value
Kind
public ParticipantInfo.Types.Kind Kind { get; set; }
Property Value
KindDetails
public RepeatedField<ParticipantInfo.Types.KindDetail> KindDetails { get; }
Property Value
- RepeatedField<ParticipantInfo.Types.KindDetail>
Metadata
public string Metadata { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Parser
public static MessageParser<ParticipantInfo> Parser { get; }
Property Value
- MessageParser<ParticipantInfo>
Permission
public ParticipantPermission Permission { get; set; }
Property Value
Region
public string Region { get; set; }
Property Value
Sid
public string Sid { get; set; }
Property Value
State
public ParticipantInfo.Types.State State { get; set; }
Property Value
Tracks
public RepeatedField<TrackInfo> Tracks { get; }
Property Value
- RepeatedField<TrackInfo>
Version
public uint Version { 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 ParticipantInfo Clone()
Returns
- ParticipantInfo
A deep clone of this object.
Equals(ParticipantInfo)
public bool Equals(ParticipantInfo other)
Parameters
otherParticipantInfo
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(ParticipantInfo)
Merges the given message into this one.
public void MergeFrom(ParticipantInfo other)
Parameters
otherParticipantInfo
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.