Class UnpublishTrackRequest
Unpublish a track from the room
public sealed class UnpublishTrackRequest : Google.Protobuf.IMessage<UnpublishTrackRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
UnpublishTrackRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
UnpublishTrackRequest()
public UnpublishTrackRequest()
UnpublishTrackRequest(UnpublishTrackRequest)
public UnpublishTrackRequest(UnpublishTrackRequest other)
Parameters
otherUnpublishTrackRequest
Fields
LocalParticipantHandleFieldNumber
Field number for the "local_participant_handle" field.
public const int LocalParticipantHandleFieldNumber = 1
Field Value
RequestAsyncIdFieldNumber
Field number for the "request_async_id" field.
public const int RequestAsyncIdFieldNumber = 4
Field Value
StopOnUnpublishFieldNumber
Field number for the "stop_on_unpublish" field.
public const int StopOnUnpublishFieldNumber = 3
Field Value
TrackSidFieldNumber
Field number for the "track_sid" field.
public const int TrackSidFieldNumber = 2
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasLocalParticipantHandle
Gets whether the "local_participant_handle" field is set
public bool HasLocalParticipantHandle { get; }
Property Value
HasRequestAsyncId
Gets whether the "request_async_id" field is set
public bool HasRequestAsyncId { get; }
Property Value
HasStopOnUnpublish
Gets whether the "stop_on_unpublish" field is set
public bool HasStopOnUnpublish { get; }
Property Value
HasTrackSid
Gets whether the "track_sid" field is set
public bool HasTrackSid { get; }
Property Value
LocalParticipantHandle
public ulong LocalParticipantHandle { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<UnpublishTrackRequest> Parser { get; }
Property Value
- MessageParser<UnpublishTrackRequest>
RequestAsyncId
public ulong RequestAsyncId { get; set; }
Property Value
StopOnUnpublish
public bool StopOnUnpublish { get; set; }
Property Value
TrackSid
public string TrackSid { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearLocalParticipantHandle()
Clears the value of the "local_participant_handle" field
public void ClearLocalParticipantHandle()
ClearRequestAsyncId()
Clears the value of the "request_async_id" field
public void ClearRequestAsyncId()
ClearStopOnUnpublish()
Clears the value of the "stop_on_unpublish" field
public void ClearStopOnUnpublish()
ClearTrackSid()
Clears the value of the "track_sid" field
public void ClearTrackSid()
Clone()
public UnpublishTrackRequest Clone()
Returns
Equals(UnpublishTrackRequest)
public bool Equals(UnpublishTrackRequest other)
Parameters
otherUnpublishTrackRequest
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(UnpublishTrackRequest)
public void MergeFrom(UnpublishTrackRequest other)
Parameters
otherUnpublishTrackRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream