Class UpdateSubscriptionsRequest
public sealed class UpdateSubscriptionsRequest : IMessage<UpdateSubscriptionsRequest>, IEquatable<UpdateSubscriptionsRequest>, IDeepCloneable<UpdateSubscriptionsRequest>, IBufferMessage, IMessage
- Inheritance
-
UpdateSubscriptionsRequest
- Implements
-
IMessage<UpdateSubscriptionsRequest>IDeepCloneable<UpdateSubscriptionsRequest>IBufferMessageIMessage
- Inherited Members
Constructors
UpdateSubscriptionsRequest()
public UpdateSubscriptionsRequest()
UpdateSubscriptionsRequest(UpdateSubscriptionsRequest)
public UpdateSubscriptionsRequest(UpdateSubscriptionsRequest other)
Parameters
Fields
IdentityFieldNumber
Field number for the "identity" field.
public const int IdentityFieldNumber = 2
Field Value
ParticipantTracksFieldNumber
Field number for the "participant_tracks" field.
public const int ParticipantTracksFieldNumber = 5
Field Value
RoomFieldNumber
Field number for the "room" field.
public const int RoomFieldNumber = 1
Field Value
SubscribeFieldNumber
Field number for the "subscribe" field.
public const int SubscribeFieldNumber = 4
Field Value
TrackSidsFieldNumber
Field number for the "track_sids" field.
public const int TrackSidsFieldNumber = 3
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Identity
public string Identity { get; set; }
Property Value
Parser
public static MessageParser<UpdateSubscriptionsRequest> Parser { get; }
Property Value
- MessageParser<UpdateSubscriptionsRequest>
ParticipantTracks
list of participants and their tracks
public RepeatedField<ParticipantTracks> ParticipantTracks { get; }
Property Value
- RepeatedField<ParticipantTracks>
Room
public string Room { get; set; }
Property Value
Subscribe
set to true to subscribe, false to unsubscribe from tracks
public bool Subscribe { get; set; }
Property Value
TrackSids
list of sids of tracks
public RepeatedField<string> TrackSids { get; }
Property Value
- RepeatedField<string>
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 UpdateSubscriptionsRequest Clone()
Returns
- UpdateSubscriptionsRequest
A deep clone of this object.
Equals(UpdateSubscriptionsRequest)
public bool Equals(UpdateSubscriptionsRequest other)
Parameters
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(UpdateSubscriptionsRequest)
Merges the given message into this one.
public void MergeFrom(UpdateSubscriptionsRequest other)
Parameters
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.