Class PlaybackQueue
- Namespace
- AppleTvControlLibrary.Mrp.Protobuf
- Assembly
- AppleTvControlLibrary.Mrp.dll
public sealed class PlaybackQueue : IMessage<PlaybackQueue>, IEquatable<PlaybackQueue>, IDeepCloneable<PlaybackQueue>, IBufferMessage, IMessage
- Inheritance
-
PlaybackQueue
- Implements
-
IMessage<PlaybackQueue>IDeepCloneable<PlaybackQueue>IBufferMessageIMessage
- Inherited Members
Constructors
PlaybackQueue()
public PlaybackQueue()
PlaybackQueue(PlaybackQueue)
public PlaybackQueue(PlaybackQueue other)
Parameters
otherPlaybackQueue
Fields
ContentItemsFieldNumber
Field number for the "contentItems" field.
public const int ContentItemsFieldNumber = 2
Field Value
ContextFieldNumber
Field number for the "context" field.
public const int ContextFieldNumber = 3
Field Value
LocationFieldNumber
Field number for the "location" field.
public const int LocationFieldNumber = 1
Field Value
QueueIdentifierFieldNumber
Field number for the "queueIdentifier" field.
public const int QueueIdentifierFieldNumber = 7
Field Value
RequestIdFieldNumber
Field number for the "requestId" field.
public const int RequestIdFieldNumber = 4
Field Value
ResolvedPlayerPathFieldNumber
Field number for the "resolvedPlayerPath" field.
public const int ResolvedPlayerPathFieldNumber = 5
Field Value
SendingPlaybackQueueTransactionFieldNumber
Field number for the "sendingPlaybackQueueTransaction" field.
public const int SendingPlaybackQueueTransactionFieldNumber = 6
Field Value
Properties
ContentItems
public RepeatedField<ContentItem> ContentItems { get; }
Property Value
- RepeatedField<ContentItem>
Context
public PlaybackQueueContext Context { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasLocation
Gets whether the "location" field is set
public bool HasLocation { get; }
Property Value
HasQueueIdentifier
Gets whether the "queueIdentifier" field is set
public bool HasQueueIdentifier { get; }
Property Value
HasRequestId
Gets whether the "requestId" field is set
public bool HasRequestId { get; }
Property Value
HasSendingPlaybackQueueTransaction
Gets whether the "sendingPlaybackQueueTransaction" field is set
public bool HasSendingPlaybackQueueTransaction { get; }
Property Value
Location
public int Location { get; set; }
Property Value
Parser
public static MessageParser<PlaybackQueue> Parser { get; }
Property Value
- MessageParser<PlaybackQueue>
QueueIdentifier
public string QueueIdentifier { get; set; }
Property Value
RequestId
public string RequestId { get; set; }
Property Value
ResolvedPlayerPath
public PlayerPath ResolvedPlayerPath { get; set; }
Property Value
SendingPlaybackQueueTransaction
public bool SendingPlaybackQueueTransaction { get; set; }
Property Value
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.
ClearLocation()
Clears the value of the "location" field
public void ClearLocation()
ClearQueueIdentifier()
Clears the value of the "queueIdentifier" field
public void ClearQueueIdentifier()
ClearRequestId()
Clears the value of the "requestId" field
public void ClearRequestId()
ClearSendingPlaybackQueueTransaction()
Clears the value of the "sendingPlaybackQueueTransaction" field
public void ClearSendingPlaybackQueueTransaction()
Clone()
Creates a deep clone of this object.
public PlaybackQueue Clone()
Returns
- PlaybackQueue
A deep clone of this object.
Equals(PlaybackQueue)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PlaybackQueue other)
Parameters
otherPlaybackQueueAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MergeFrom(PlaybackQueue)
Merges the given message into this one.
public void MergeFrom(PlaybackQueue other)
Parameters
otherPlaybackQueue
Remarks
See the user guide for precise merge semantics.
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.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
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.