Table of Contents

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>
IBufferMessage
IMessage
Inherited Members

Constructors

PlaybackQueue()

public PlaybackQueue()

PlaybackQueue(PlaybackQueue)

public PlaybackQueue(PlaybackQueue other)

Parameters

other PlaybackQueue

Fields

ContentItemsFieldNumber

Field number for the "contentItems" field.

public const int ContentItemsFieldNumber = 2

Field Value

int

ContextFieldNumber

Field number for the "context" field.

public const int ContextFieldNumber = 3

Field Value

int

LocationFieldNumber

Field number for the "location" field.

public const int LocationFieldNumber = 1

Field Value

int

QueueIdentifierFieldNumber

Field number for the "queueIdentifier" field.

public const int QueueIdentifierFieldNumber = 7

Field Value

int

RequestIdFieldNumber

Field number for the "requestId" field.

public const int RequestIdFieldNumber = 4

Field Value

int

ResolvedPlayerPathFieldNumber

Field number for the "resolvedPlayerPath" field.

public const int ResolvedPlayerPathFieldNumber = 5

Field Value

int

SendingPlaybackQueueTransactionFieldNumber

Field number for the "sendingPlaybackQueueTransaction" field.

public const int SendingPlaybackQueueTransactionFieldNumber = 6

Field Value

int

Properties

ContentItems

public RepeatedField<ContentItem> ContentItems { get; }

Property Value

RepeatedField<ContentItem>

Context

public PlaybackQueueContext Context { get; set; }

Property Value

PlaybackQueueContext

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasLocation

Gets whether the "location" field is set

public bool HasLocation { get; }

Property Value

bool

HasQueueIdentifier

Gets whether the "queueIdentifier" field is set

public bool HasQueueIdentifier { get; }

Property Value

bool

HasRequestId

Gets whether the "requestId" field is set

public bool HasRequestId { get; }

Property Value

bool

HasSendingPlaybackQueueTransaction

Gets whether the "sendingPlaybackQueueTransaction" field is set

public bool HasSendingPlaybackQueueTransaction { get; }

Property Value

bool

Location

public int Location { get; set; }

Property Value

int

Parser

public static MessageParser<PlaybackQueue> Parser { get; }

Property Value

MessageParser<PlaybackQueue>

QueueIdentifier

public string QueueIdentifier { get; set; }

Property Value

string

RequestId

public string RequestId { get; set; }

Property Value

string

ResolvedPlayerPath

public PlayerPath ResolvedPlayerPath { get; set; }

Property Value

PlayerPath

SendingPlaybackQueueTransaction

public bool SendingPlaybackQueueTransaction { get; set; }

Property Value

bool

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

other PlaybackQueue

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

other PlaybackQueue

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

input CodedInputStream

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

output CodedOutputStream

Coded output stream to write the data to. Must not be null.