Class ParticipantInfo
public sealed class ParticipantInfo : Google.Protobuf.IMessage<ParticipantInfo>, Google.Protobuf.IBufferMessage
- Inheritance
-
ParticipantInfo
- Implements
-
IBufferMessage
- Extension Methods
Constructors
ParticipantInfo()
public ParticipantInfo()
ParticipantInfo(ParticipantInfo)
public ParticipantInfo(ParticipantInfo other)
Parameters
otherParticipantInfo
Fields
AttributesFieldNumber
Field number for the "attributes" field.
public const int AttributesFieldNumber = 6
Field Value
DisconnectReasonFieldNumber
Field number for the "disconnect_reason" field.
public const int DisconnectReasonFieldNumber = 8
Field Value
IdentityFieldNumber
Field number for the "identity" field.
public const int IdentityFieldNumber = 3
Field Value
JoinedAtFieldNumber
Field number for the "joined_at" field.
public const int JoinedAtFieldNumber = 9
Field Value
KindDetailsFieldNumber
Field number for the "kind_details" field.
public const int KindDetailsFieldNumber = 10
Field Value
KindFieldNumber
Field number for the "kind" field.
public const int KindFieldNumber = 7
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 = 2
Field Value
PermissionFieldNumber
Field number for the "permission" field.
public const int PermissionFieldNumber = 11
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 = 4
Field Value
Properties
Attributes
public Google.Protobuf.Collections.MapField<string, string> Attributes { get; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisconnectReason
public DisconnectReason DisconnectReason { get; set; }
Property Value
HasDisconnectReason
Gets whether the "disconnect_reason" field is set
public bool HasDisconnectReason { get; }
Property Value
HasIdentity
Gets whether the "identity" field is set
public bool HasIdentity { get; }
Property Value
HasJoinedAt
Gets whether the "joined_at" field is set
public bool HasJoinedAt { get; }
Property Value
HasKind
Gets whether the "kind" field is set
public bool HasKind { get; }
Property Value
HasMetadata
Gets whether the "metadata" field is set
public bool HasMetadata { get; }
Property Value
HasName
Gets whether the "name" field is set
public bool HasName { get; }
Property Value
HasSid
Gets whether the "sid" field is set
public bool HasSid { get; }
Property Value
HasState
Gets whether the "state" field is set
public bool HasState { get; }
Property Value
Identity
public string Identity { get; set; }
Property Value
JoinedAt
ms timestamp of when the participant joined the room, maps to joined_at_ms in livekit_models
public long JoinedAt { get; set; }
Property Value
Kind
public ParticipantKind Kind { get; set; }
Property Value
KindDetails
public Google.Protobuf.Collections.RepeatedField<ParticipantKindDetail> KindDetails { get; }
Property Value
- RepeatedField<ParticipantKindDetail>
Metadata
public string Metadata { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<ParticipantInfo> Parser { get; }
Property Value
- MessageParser<ParticipantInfo>
Permission
public ParticipantPermission Permission { get; set; }
Property Value
Sid
public string Sid { get; set; }
Property Value
State
public ParticipantState State { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearDisconnectReason()
Clears the value of the "disconnect_reason" field
public void ClearDisconnectReason()
ClearIdentity()
Clears the value of the "identity" field
public void ClearIdentity()
ClearJoinedAt()
Clears the value of the "joined_at" field
public void ClearJoinedAt()
ClearKind()
Clears the value of the "kind" field
public void ClearKind()
ClearMetadata()
Clears the value of the "metadata" field
public void ClearMetadata()
ClearName()
Clears the value of the "name" field
public void ClearName()
ClearSid()
Clears the value of the "sid" field
public void ClearSid()
ClearState()
Clears the value of the "state" field
public void ClearState()
Clone()
public ParticipantInfo Clone()
Returns
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)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(ParticipantInfo)
public void MergeFrom(ParticipantInfo other)
Parameters
otherParticipantInfo
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream