Class ParticipantTrackPermission
public sealed class ParticipantTrackPermission : Google.Protobuf.IMessage<ParticipantTrackPermission>, Google.Protobuf.IBufferMessage
- Inheritance
-
ParticipantTrackPermission
- Implements
-
IBufferMessage
- Extension Methods
Constructors
ParticipantTrackPermission()
public ParticipantTrackPermission()
ParticipantTrackPermission(ParticipantTrackPermission)
public ParticipantTrackPermission(ParticipantTrackPermission other)
Parameters
Fields
AllowAllFieldNumber
Field number for the "allow_all" field.
public const int AllowAllFieldNumber = 2
Field Value
AllowedTrackSidsFieldNumber
Field number for the "allowed_track_sids" field.
public const int AllowedTrackSidsFieldNumber = 3
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 1
Field Value
Properties
AllowAll
Grant permission to all all tracks. Takes precedence over allowedTrackSids.
public bool AllowAll { get; set; }
Property Value
AllowedTrackSids
List of track sids to grant permission to.
public Google.Protobuf.Collections.RepeatedField<string> AllowedTrackSids { get; }
Property Value
- RepeatedField<string>
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasAllowAll
Gets whether the "allow_all" field is set
public bool HasAllowAll { get; }
Property Value
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<ParticipantTrackPermission> Parser { get; }
Property Value
- MessageParser<ParticipantTrackPermission>
ParticipantIdentity
The participant identity this permission applies to.
public string ParticipantIdentity { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearAllowAll()
Clears the value of the "allow_all" field
public void ClearAllowAll()
ClearParticipantIdentity()
Clears the value of the "participant_identity" field
public void ClearParticipantIdentity()
Clone()
public ParticipantTrackPermission Clone()
Returns
Equals(ParticipantTrackPermission)
public bool Equals(ParticipantTrackPermission other)
Parameters
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(ParticipantTrackPermission)
public void MergeFrom(ParticipantTrackPermission other)
Parameters
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream