Class ParticipantPermission
- Namespace
- LiveKit.Proto
- Assembly
- LivekitRtc.dll
copied from livekit-protocol/protocol/protobufs/livekit_models.proto and removed deprecated fields
public sealed class ParticipantPermission : IMessage<ParticipantPermission>, IEquatable<ParticipantPermission>, IDeepCloneable<ParticipantPermission>, IBufferMessage, IMessage
- Inheritance
-
ParticipantPermission
- Implements
-
IBufferMessage
- Inherited Members
Constructors
ParticipantPermission()
public ParticipantPermission()
ParticipantPermission(ParticipantPermission)
public ParticipantPermission(ParticipantPermission other)
Parameters
otherParticipantPermission
Properties
CanManageAgentSession
if a participant can manage an agent session via RemoteSession (control and access state)
public bool CanManageAgentSession { get; set; }
Property Value
CanPublish
allow participant to publish new tracks to room
public bool CanPublish { get; set; }
Property Value
CanPublishData
allow participant to publish data
public bool CanPublishData { get; set; }
Property Value
CanPublishSources
sources that are allowed to be published
public RepeatedField<TrackSource> CanPublishSources { get; }
Property Value
CanSubscribe
allow participant to subscribe to other tracks in the room
public bool CanSubscribe { get; set; }
Property Value
CanSubscribeMetrics
if a participant can subscribe to metrics
public bool CanSubscribeMetrics { get; set; }
Property Value
CanUpdateMetadata
indicates that participant can update own metadata and attributes
public bool CanUpdateMetadata { get; set; }
Property Value
HasCanManageAgentSession
Gets whether the "can_manage_agent_session" field is set
public bool HasCanManageAgentSession { get; }
Property Value
HasCanPublish
Gets whether the "can_publish" field is set
public bool HasCanPublish { get; }
Property Value
HasCanPublishData
Gets whether the "can_publish_data" field is set
public bool HasCanPublishData { get; }
Property Value
HasCanSubscribe
Gets whether the "can_subscribe" field is set
public bool HasCanSubscribe { get; }
Property Value
HasCanSubscribeMetrics
Gets whether the "can_subscribe_metrics" field is set
public bool HasCanSubscribeMetrics { get; }
Property Value
HasCanUpdateMetadata
Gets whether the "can_update_metadata" field is set
public bool HasCanUpdateMetadata { get; }
Property Value
HasHidden
Gets whether the "hidden" field is set
public bool HasHidden { get; }
Property Value
Hidden
indicates that it's hidden to others
public bool Hidden { get; set; }
Property Value
Methods
ClearCanManageAgentSession()
Clears the value of the "can_manage_agent_session" field
public void ClearCanManageAgentSession()
ClearCanPublish()
Clears the value of the "can_publish" field
public void ClearCanPublish()
ClearCanPublishData()
Clears the value of the "can_publish_data" field
public void ClearCanPublishData()
ClearCanSubscribe()
Clears the value of the "can_subscribe" field
public void ClearCanSubscribe()
ClearCanSubscribeMetrics()
Clears the value of the "can_subscribe_metrics" field
public void ClearCanSubscribeMetrics()
ClearCanUpdateMetadata()
Clears the value of the "can_update_metadata" field
public void ClearCanUpdateMetadata()
ClearHidden()
Clears the value of the "hidden" field
public void ClearHidden()