Table of Contents

Class CommandOptions

Namespace
AppleTvControlLibrary.Mrp.Protobuf
Assembly
AppleTvControlLibrary.Mrp.dll
public sealed class CommandOptions : IMessage<CommandOptions>, IEquatable<CommandOptions>, IDeepCloneable<CommandOptions>, IBufferMessage, IMessage
Inheritance
CommandOptions
Implements
IMessage<CommandOptions>
IDeepCloneable<CommandOptions>
IBufferMessage
IMessage
Inherited Members

Constructors

CommandOptions()

public CommandOptions()

CommandOptions(CommandOptions)

public CommandOptions(CommandOptions other)

Parameters

other CommandOptions

Fields

ContentItemIDFieldNumber

Field number for the "contentItemID" field.

public const int ContentItemIDFieldNumber = 24

Field Value

int

ContextIDFieldNumber

Field number for the "contextID" field.

public const int ContextIDFieldNumber = 19

Field Value

int

DestinationAppDisplayIDFieldNumber

Field number for the "destinationAppDisplayID" field.

public const int DestinationAppDisplayIDFieldNumber = 16

Field Value

int

ExternalPlayerCommandFieldNumber

Field number for the "externalPlayerCommand" field.

public const int ExternalPlayerCommandFieldNumber = 4

Field Value

int

InsertAfterContentItemIDFieldNumber

Field number for the "insertAfterContentItemID" field.

public const int InsertAfterContentItemIDFieldNumber = 29

Field Value

int

LanguageOptionFieldNumber

Field number for the "languageOption" field.

public const int LanguageOptionFieldNumber = 27

Field Value

int

MediaTypeFieldNumber

Field number for the "mediaType" field.

public const int MediaTypeFieldNumber = 3

Field Value

int

NegativeFieldNumber

Field number for the "negative" field.

public const int NegativeFieldNumber = 8

Field Value

int

NowPlayingContentItemIDFieldNumber

Field number for the "nowPlayingContentItemID" field.

public const int NowPlayingContentItemIDFieldNumber = 30

Field Value

int

PlaybackPositionFieldNumber

Field number for the "playbackPosition" field.

public const int PlaybackPositionFieldNumber = 9

Field Value

int

PlaybackQueueContextFieldNumber

Field number for the "playbackQueueContext" field.

public const int PlaybackQueueContextFieldNumber = 28

Field Value

int

PlaybackQueueDestinationOffsetFieldNumber

Field number for the "playbackQueueDestinationOffset" field.

public const int PlaybackQueueDestinationOffsetFieldNumber = 26

Field Value

int

PlaybackQueueInsertionPositionFieldNumber

Field number for the "playbackQueueInsertionPosition" field.

public const int PlaybackQueueInsertionPositionFieldNumber = 23

Field Value

int

PlaybackQueueOffsetFieldNumber

Field number for the "playbackQueueOffset" field.

public const int PlaybackQueueOffsetFieldNumber = 25

Field Value

int

PlaybackRateFieldNumber

Field number for the "playbackRate" field.

public const int PlaybackRateFieldNumber = 6

Field Value

int

RadioStationHashFieldNumber

Field number for the "radioStationHash" field.

public const int RadioStationHashFieldNumber = 14

Field Value

int

RadioStationIDFieldNumber

Field number for the "radioStationID" field.

public const int RadioStationIDFieldNumber = 13

Field Value

int

RatingFieldNumber

Field number for the "rating" field.

public const int RatingFieldNumber = 7

Field Value

int

RepeatModeFieldNumber

Field number for the "repeatMode" field.

public const int RepeatModeFieldNumber = 10

Field Value

int

ReplaceIntentFieldNumber

Field number for the "replaceIntent" field.

public const int ReplaceIntentFieldNumber = 31

Field Value

int

RequestDefermentToPlaybackQueuePositionFieldNumber

Field number for the "requestDefermentToPlaybackQueuePosition" field.

public const int RequestDefermentToPlaybackQueuePositionFieldNumber = 18

Field Value

int

SendOptionsFieldNumber

Field number for the "sendOptions" field.

public const int SendOptionsFieldNumber = 17

Field Value

int

ShouldBeginRadioPlaybackFieldNumber

Field number for the "shouldBeginRadioPlayback" field.

public const int ShouldBeginRadioPlaybackFieldNumber = 22

Field Value

int

ShouldOverrideManuallyCuratedQueueFieldNumber

Field number for the "shouldOverrideManuallyCuratedQueue" field.

public const int ShouldOverrideManuallyCuratedQueueFieldNumber = 20

Field Value

int

ShuffleModeFieldNumber

Field number for the "shuffleMode" field.

public const int ShuffleModeFieldNumber = 11

Field Value

int

SkipIntervalFieldNumber

Field number for the "skipInterval" field.

public const int SkipIntervalFieldNumber = 5

Field Value

int

SourceIdFieldNumber

Field number for the "sourceId" field.

public const int SourceIdFieldNumber = 2

Field Value

int

StationURLFieldNumber

Field number for the "stationURL" field.

public const int StationURLFieldNumber = 21

Field Value

int

SystemAppPlaybackQueueDataFieldNumber

Field number for the "systemAppPlaybackQueueData" field.

public const int SystemAppPlaybackQueueDataFieldNumber = 15

Field Value

int

TrackIDFieldNumber

Field number for the "trackID" field.

public const int TrackIDFieldNumber = 12

Field Value

int

Properties

ContentItemID

public string ContentItemID { get; set; }

Property Value

string

ContextID

public string ContextID { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DestinationAppDisplayID

public string DestinationAppDisplayID { get; set; }

Property Value

string

ExternalPlayerCommand

public bool ExternalPlayerCommand { get; set; }

Property Value

bool

HasContentItemID

Gets whether the "contentItemID" field is set

public bool HasContentItemID { get; }

Property Value

bool

HasContextID

Gets whether the "contextID" field is set

public bool HasContextID { get; }

Property Value

bool

HasDestinationAppDisplayID

Gets whether the "destinationAppDisplayID" field is set

public bool HasDestinationAppDisplayID { get; }

Property Value

bool

HasExternalPlayerCommand

Gets whether the "externalPlayerCommand" field is set

public bool HasExternalPlayerCommand { get; }

Property Value

bool

HasInsertAfterContentItemID

Gets whether the "insertAfterContentItemID" field is set

public bool HasInsertAfterContentItemID { get; }

Property Value

bool

HasLanguageOption

Gets whether the "languageOption" field is set

public bool HasLanguageOption { get; }

Property Value

bool

HasMediaType

Gets whether the "mediaType" field is set

public bool HasMediaType { get; }

Property Value

bool

HasNegative

Gets whether the "negative" field is set

public bool HasNegative { get; }

Property Value

bool

HasNowPlayingContentItemID

Gets whether the "nowPlayingContentItemID" field is set

public bool HasNowPlayingContentItemID { get; }

Property Value

bool

HasPlaybackPosition

Gets whether the "playbackPosition" field is set

public bool HasPlaybackPosition { get; }

Property Value

bool

HasPlaybackQueueContext

Gets whether the "playbackQueueContext" field is set

public bool HasPlaybackQueueContext { get; }

Property Value

bool

HasPlaybackQueueDestinationOffset

Gets whether the "playbackQueueDestinationOffset" field is set

public bool HasPlaybackQueueDestinationOffset { get; }

Property Value

bool

HasPlaybackQueueInsertionPosition

Gets whether the "playbackQueueInsertionPosition" field is set

public bool HasPlaybackQueueInsertionPosition { get; }

Property Value

bool

HasPlaybackQueueOffset

Gets whether the "playbackQueueOffset" field is set

public bool HasPlaybackQueueOffset { get; }

Property Value

bool

HasPlaybackRate

Gets whether the "playbackRate" field is set

public bool HasPlaybackRate { get; }

Property Value

bool

HasRadioStationHash

Gets whether the "radioStationHash" field is set

public bool HasRadioStationHash { get; }

Property Value

bool

HasRadioStationID

Gets whether the "radioStationID" field is set

public bool HasRadioStationID { get; }

Property Value

bool

HasRating

Gets whether the "rating" field is set

public bool HasRating { get; }

Property Value

bool

HasRepeatMode

Gets whether the "repeatMode" field is set

public bool HasRepeatMode { get; }

Property Value

bool

HasReplaceIntent

Gets whether the "replaceIntent" field is set

public bool HasReplaceIntent { get; }

Property Value

bool

HasRequestDefermentToPlaybackQueuePosition

Gets whether the "requestDefermentToPlaybackQueuePosition" field is set

public bool HasRequestDefermentToPlaybackQueuePosition { get; }

Property Value

bool

HasSendOptions

Gets whether the "sendOptions" field is set

public bool HasSendOptions { get; }

Property Value

bool

HasShouldBeginRadioPlayback

Gets whether the "shouldBeginRadioPlayback" field is set

public bool HasShouldBeginRadioPlayback { get; }

Property Value

bool

HasShouldOverrideManuallyCuratedQueue

Gets whether the "shouldOverrideManuallyCuratedQueue" field is set

public bool HasShouldOverrideManuallyCuratedQueue { get; }

Property Value

bool

HasShuffleMode

Gets whether the "shuffleMode" field is set

public bool HasShuffleMode { get; }

Property Value

bool

HasSkipInterval

Gets whether the "skipInterval" field is set

public bool HasSkipInterval { get; }

Property Value

bool

HasSourceId

Gets whether the "sourceId" field is set

public bool HasSourceId { get; }

Property Value

bool

HasStationURL

Gets whether the "stationURL" field is set

public bool HasStationURL { get; }

Property Value

bool

HasSystemAppPlaybackQueueData

Gets whether the "systemAppPlaybackQueueData" field is set

public bool HasSystemAppPlaybackQueueData { get; }

Property Value

bool

HasTrackID

Gets whether the "trackID" field is set

public bool HasTrackID { get; }

Property Value

bool

InsertAfterContentItemID

public string InsertAfterContentItemID { get; set; }

Property Value

string

LanguageOption

public ByteString LanguageOption { get; set; }

Property Value

ByteString

MediaType

public string MediaType { get; set; }

Property Value

string

Negative

public bool Negative { get; set; }

Property Value

bool

NowPlayingContentItemID

public string NowPlayingContentItemID { get; set; }

Property Value

string

Parser

public static MessageParser<CommandOptions> Parser { get; }

Property Value

MessageParser<CommandOptions>

PlaybackPosition

public double PlaybackPosition { get; set; }

Property Value

double

PlaybackQueueContext

public ByteString PlaybackQueueContext { get; set; }

Property Value

ByteString

PlaybackQueueDestinationOffset

public int PlaybackQueueDestinationOffset { get; set; }

Property Value

int

PlaybackQueueInsertionPosition

public int PlaybackQueueInsertionPosition { get; set; }

Property Value

int

PlaybackQueueOffset

public int PlaybackQueueOffset { get; set; }

Property Value

int

PlaybackRate

public float PlaybackRate { get; set; }

Property Value

float

RadioStationHash

public string RadioStationHash { get; set; }

Property Value

string

RadioStationID

public long RadioStationID { get; set; }

Property Value

long

Rating

public float Rating { get; set; }

Property Value

float

RepeatMode

public RepeatMode.Types.Enum RepeatMode { get; set; }

Property Value

RepeatMode.Types.Enum

ReplaceIntent

public int ReplaceIntent { get; set; }

Property Value

int

RequestDefermentToPlaybackQueuePosition

public bool RequestDefermentToPlaybackQueuePosition { get; set; }

Property Value

bool

SendOptions

public uint SendOptions { get; set; }

Property Value

uint

ShouldBeginRadioPlayback

public bool ShouldBeginRadioPlayback { get; set; }

Property Value

bool

ShouldOverrideManuallyCuratedQueue

public bool ShouldOverrideManuallyCuratedQueue { get; set; }

Property Value

bool

ShuffleMode

public ShuffleMode.Types.Enum ShuffleMode { get; set; }

Property Value

ShuffleMode.Types.Enum

SkipInterval

public float SkipInterval { get; set; }

Property Value

float

SourceId

public string SourceId { get; set; }

Property Value

string

StationURL

public string StationURL { get; set; }

Property Value

string

SystemAppPlaybackQueueData

public ByteString SystemAppPlaybackQueueData { get; set; }

Property Value

ByteString

TrackID

public ulong TrackID { get; set; }

Property Value

ulong

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.

ClearContentItemID()

Clears the value of the "contentItemID" field

public void ClearContentItemID()

ClearContextID()

Clears the value of the "contextID" field

public void ClearContextID()

ClearDestinationAppDisplayID()

Clears the value of the "destinationAppDisplayID" field

public void ClearDestinationAppDisplayID()

ClearExternalPlayerCommand()

Clears the value of the "externalPlayerCommand" field

public void ClearExternalPlayerCommand()

ClearInsertAfterContentItemID()

Clears the value of the "insertAfterContentItemID" field

public void ClearInsertAfterContentItemID()

ClearLanguageOption()

Clears the value of the "languageOption" field

public void ClearLanguageOption()

ClearMediaType()

Clears the value of the "mediaType" field

public void ClearMediaType()

ClearNegative()

Clears the value of the "negative" field

public void ClearNegative()

ClearNowPlayingContentItemID()

Clears the value of the "nowPlayingContentItemID" field

public void ClearNowPlayingContentItemID()

ClearPlaybackPosition()

Clears the value of the "playbackPosition" field

public void ClearPlaybackPosition()

ClearPlaybackQueueContext()

Clears the value of the "playbackQueueContext" field

public void ClearPlaybackQueueContext()

ClearPlaybackQueueDestinationOffset()

Clears the value of the "playbackQueueDestinationOffset" field

public void ClearPlaybackQueueDestinationOffset()

ClearPlaybackQueueInsertionPosition()

Clears the value of the "playbackQueueInsertionPosition" field

public void ClearPlaybackQueueInsertionPosition()

ClearPlaybackQueueOffset()

Clears the value of the "playbackQueueOffset" field

public void ClearPlaybackQueueOffset()

ClearPlaybackRate()

Clears the value of the "playbackRate" field

public void ClearPlaybackRate()

ClearRadioStationHash()

Clears the value of the "radioStationHash" field

public void ClearRadioStationHash()

ClearRadioStationID()

Clears the value of the "radioStationID" field

public void ClearRadioStationID()

ClearRating()

Clears the value of the "rating" field

public void ClearRating()

ClearRepeatMode()

Clears the value of the "repeatMode" field

public void ClearRepeatMode()

ClearReplaceIntent()

Clears the value of the "replaceIntent" field

public void ClearReplaceIntent()

ClearRequestDefermentToPlaybackQueuePosition()

Clears the value of the "requestDefermentToPlaybackQueuePosition" field

public void ClearRequestDefermentToPlaybackQueuePosition()

ClearSendOptions()

Clears the value of the "sendOptions" field

public void ClearSendOptions()

ClearShouldBeginRadioPlayback()

Clears the value of the "shouldBeginRadioPlayback" field

public void ClearShouldBeginRadioPlayback()

ClearShouldOverrideManuallyCuratedQueue()

Clears the value of the "shouldOverrideManuallyCuratedQueue" field

public void ClearShouldOverrideManuallyCuratedQueue()

ClearShuffleMode()

Clears the value of the "shuffleMode" field

public void ClearShuffleMode()

ClearSkipInterval()

Clears the value of the "skipInterval" field

public void ClearSkipInterval()

ClearSourceId()

Clears the value of the "sourceId" field

public void ClearSourceId()

ClearStationURL()

Clears the value of the "stationURL" field

public void ClearStationURL()

ClearSystemAppPlaybackQueueData()

Clears the value of the "systemAppPlaybackQueueData" field

public void ClearSystemAppPlaybackQueueData()

ClearTrackID()

Clears the value of the "trackID" field

public void ClearTrackID()

Clone()

Creates a deep clone of this object.

public CommandOptions Clone()

Returns

CommandOptions

A deep clone of this object.

Equals(CommandOptions)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(CommandOptions other)

Parameters

other CommandOptions

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(CommandOptions)

Merges the given message into this one.

public void MergeFrom(CommandOptions other)

Parameters

other CommandOptions

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.