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>IBufferMessageIMessage
- Inherited Members
Constructors
CommandOptions()
public CommandOptions()
CommandOptions(CommandOptions)
public CommandOptions(CommandOptions other)
Parameters
otherCommandOptions
Fields
ContentItemIDFieldNumber
Field number for the "contentItemID" field.
public const int ContentItemIDFieldNumber = 24
Field Value
ContextIDFieldNumber
Field number for the "contextID" field.
public const int ContextIDFieldNumber = 19
Field Value
DestinationAppDisplayIDFieldNumber
Field number for the "destinationAppDisplayID" field.
public const int DestinationAppDisplayIDFieldNumber = 16
Field Value
ExternalPlayerCommandFieldNumber
Field number for the "externalPlayerCommand" field.
public const int ExternalPlayerCommandFieldNumber = 4
Field Value
InsertAfterContentItemIDFieldNumber
Field number for the "insertAfterContentItemID" field.
public const int InsertAfterContentItemIDFieldNumber = 29
Field Value
LanguageOptionFieldNumber
Field number for the "languageOption" field.
public const int LanguageOptionFieldNumber = 27
Field Value
MediaTypeFieldNumber
Field number for the "mediaType" field.
public const int MediaTypeFieldNumber = 3
Field Value
NegativeFieldNumber
Field number for the "negative" field.
public const int NegativeFieldNumber = 8
Field Value
NowPlayingContentItemIDFieldNumber
Field number for the "nowPlayingContentItemID" field.
public const int NowPlayingContentItemIDFieldNumber = 30
Field Value
PlaybackPositionFieldNumber
Field number for the "playbackPosition" field.
public const int PlaybackPositionFieldNumber = 9
Field Value
PlaybackQueueContextFieldNumber
Field number for the "playbackQueueContext" field.
public const int PlaybackQueueContextFieldNumber = 28
Field Value
PlaybackQueueDestinationOffsetFieldNumber
Field number for the "playbackQueueDestinationOffset" field.
public const int PlaybackQueueDestinationOffsetFieldNumber = 26
Field Value
PlaybackQueueInsertionPositionFieldNumber
Field number for the "playbackQueueInsertionPosition" field.
public const int PlaybackQueueInsertionPositionFieldNumber = 23
Field Value
PlaybackQueueOffsetFieldNumber
Field number for the "playbackQueueOffset" field.
public const int PlaybackQueueOffsetFieldNumber = 25
Field Value
PlaybackRateFieldNumber
Field number for the "playbackRate" field.
public const int PlaybackRateFieldNumber = 6
Field Value
RadioStationHashFieldNumber
Field number for the "radioStationHash" field.
public const int RadioStationHashFieldNumber = 14
Field Value
RadioStationIDFieldNumber
Field number for the "radioStationID" field.
public const int RadioStationIDFieldNumber = 13
Field Value
RatingFieldNumber
Field number for the "rating" field.
public const int RatingFieldNumber = 7
Field Value
RepeatModeFieldNumber
Field number for the "repeatMode" field.
public const int RepeatModeFieldNumber = 10
Field Value
ReplaceIntentFieldNumber
Field number for the "replaceIntent" field.
public const int ReplaceIntentFieldNumber = 31
Field Value
RequestDefermentToPlaybackQueuePositionFieldNumber
Field number for the "requestDefermentToPlaybackQueuePosition" field.
public const int RequestDefermentToPlaybackQueuePositionFieldNumber = 18
Field Value
SendOptionsFieldNumber
Field number for the "sendOptions" field.
public const int SendOptionsFieldNumber = 17
Field Value
ShouldBeginRadioPlaybackFieldNumber
Field number for the "shouldBeginRadioPlayback" field.
public const int ShouldBeginRadioPlaybackFieldNumber = 22
Field Value
ShouldOverrideManuallyCuratedQueueFieldNumber
Field number for the "shouldOverrideManuallyCuratedQueue" field.
public const int ShouldOverrideManuallyCuratedQueueFieldNumber = 20
Field Value
ShuffleModeFieldNumber
Field number for the "shuffleMode" field.
public const int ShuffleModeFieldNumber = 11
Field Value
SkipIntervalFieldNumber
Field number for the "skipInterval" field.
public const int SkipIntervalFieldNumber = 5
Field Value
SourceIdFieldNumber
Field number for the "sourceId" field.
public const int SourceIdFieldNumber = 2
Field Value
StationURLFieldNumber
Field number for the "stationURL" field.
public const int StationURLFieldNumber = 21
Field Value
SystemAppPlaybackQueueDataFieldNumber
Field number for the "systemAppPlaybackQueueData" field.
public const int SystemAppPlaybackQueueDataFieldNumber = 15
Field Value
TrackIDFieldNumber
Field number for the "trackID" field.
public const int TrackIDFieldNumber = 12
Field Value
Properties
ContentItemID
public string ContentItemID { get; set; }
Property Value
ContextID
public string ContextID { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DestinationAppDisplayID
public string DestinationAppDisplayID { get; set; }
Property Value
ExternalPlayerCommand
public bool ExternalPlayerCommand { get; set; }
Property Value
HasContentItemID
Gets whether the "contentItemID" field is set
public bool HasContentItemID { get; }
Property Value
HasContextID
Gets whether the "contextID" field is set
public bool HasContextID { get; }
Property Value
HasDestinationAppDisplayID
Gets whether the "destinationAppDisplayID" field is set
public bool HasDestinationAppDisplayID { get; }
Property Value
HasExternalPlayerCommand
Gets whether the "externalPlayerCommand" field is set
public bool HasExternalPlayerCommand { get; }
Property Value
HasInsertAfterContentItemID
Gets whether the "insertAfterContentItemID" field is set
public bool HasInsertAfterContentItemID { get; }
Property Value
HasLanguageOption
Gets whether the "languageOption" field is set
public bool HasLanguageOption { get; }
Property Value
HasMediaType
Gets whether the "mediaType" field is set
public bool HasMediaType { get; }
Property Value
HasNegative
Gets whether the "negative" field is set
public bool HasNegative { get; }
Property Value
HasNowPlayingContentItemID
Gets whether the "nowPlayingContentItemID" field is set
public bool HasNowPlayingContentItemID { get; }
Property Value
HasPlaybackPosition
Gets whether the "playbackPosition" field is set
public bool HasPlaybackPosition { get; }
Property Value
HasPlaybackQueueContext
Gets whether the "playbackQueueContext" field is set
public bool HasPlaybackQueueContext { get; }
Property Value
HasPlaybackQueueDestinationOffset
Gets whether the "playbackQueueDestinationOffset" field is set
public bool HasPlaybackQueueDestinationOffset { get; }
Property Value
HasPlaybackQueueInsertionPosition
Gets whether the "playbackQueueInsertionPosition" field is set
public bool HasPlaybackQueueInsertionPosition { get; }
Property Value
HasPlaybackQueueOffset
Gets whether the "playbackQueueOffset" field is set
public bool HasPlaybackQueueOffset { get; }
Property Value
HasPlaybackRate
Gets whether the "playbackRate" field is set
public bool HasPlaybackRate { get; }
Property Value
HasRadioStationHash
Gets whether the "radioStationHash" field is set
public bool HasRadioStationHash { get; }
Property Value
HasRadioStationID
Gets whether the "radioStationID" field is set
public bool HasRadioStationID { get; }
Property Value
HasRating
Gets whether the "rating" field is set
public bool HasRating { get; }
Property Value
HasRepeatMode
Gets whether the "repeatMode" field is set
public bool HasRepeatMode { get; }
Property Value
HasReplaceIntent
Gets whether the "replaceIntent" field is set
public bool HasReplaceIntent { get; }
Property Value
HasRequestDefermentToPlaybackQueuePosition
Gets whether the "requestDefermentToPlaybackQueuePosition" field is set
public bool HasRequestDefermentToPlaybackQueuePosition { get; }
Property Value
HasSendOptions
Gets whether the "sendOptions" field is set
public bool HasSendOptions { get; }
Property Value
HasShouldBeginRadioPlayback
Gets whether the "shouldBeginRadioPlayback" field is set
public bool HasShouldBeginRadioPlayback { get; }
Property Value
HasShouldOverrideManuallyCuratedQueue
Gets whether the "shouldOverrideManuallyCuratedQueue" field is set
public bool HasShouldOverrideManuallyCuratedQueue { get; }
Property Value
HasShuffleMode
Gets whether the "shuffleMode" field is set
public bool HasShuffleMode { get; }
Property Value
HasSkipInterval
Gets whether the "skipInterval" field is set
public bool HasSkipInterval { get; }
Property Value
HasSourceId
Gets whether the "sourceId" field is set
public bool HasSourceId { get; }
Property Value
HasStationURL
Gets whether the "stationURL" field is set
public bool HasStationURL { get; }
Property Value
HasSystemAppPlaybackQueueData
Gets whether the "systemAppPlaybackQueueData" field is set
public bool HasSystemAppPlaybackQueueData { get; }
Property Value
HasTrackID
Gets whether the "trackID" field is set
public bool HasTrackID { get; }
Property Value
InsertAfterContentItemID
public string InsertAfterContentItemID { get; set; }
Property Value
LanguageOption
public ByteString LanguageOption { get; set; }
Property Value
- ByteString
MediaType
public string MediaType { get; set; }
Property Value
Negative
public bool Negative { get; set; }
Property Value
NowPlayingContentItemID
public string NowPlayingContentItemID { get; set; }
Property Value
Parser
public static MessageParser<CommandOptions> Parser { get; }
Property Value
- MessageParser<CommandOptions>
PlaybackPosition
public double PlaybackPosition { get; set; }
Property Value
PlaybackQueueContext
public ByteString PlaybackQueueContext { get; set; }
Property Value
- ByteString
PlaybackQueueDestinationOffset
public int PlaybackQueueDestinationOffset { get; set; }
Property Value
PlaybackQueueInsertionPosition
public int PlaybackQueueInsertionPosition { get; set; }
Property Value
PlaybackQueueOffset
public int PlaybackQueueOffset { get; set; }
Property Value
PlaybackRate
public float PlaybackRate { get; set; }
Property Value
RadioStationHash
public string RadioStationHash { get; set; }
Property Value
RadioStationID
public long RadioStationID { get; set; }
Property Value
Rating
public float Rating { get; set; }
Property Value
RepeatMode
public RepeatMode.Types.Enum RepeatMode { get; set; }
Property Value
ReplaceIntent
public int ReplaceIntent { get; set; }
Property Value
RequestDefermentToPlaybackQueuePosition
public bool RequestDefermentToPlaybackQueuePosition { get; set; }
Property Value
SendOptions
public uint SendOptions { get; set; }
Property Value
ShouldBeginRadioPlayback
public bool ShouldBeginRadioPlayback { get; set; }
Property Value
ShouldOverrideManuallyCuratedQueue
public bool ShouldOverrideManuallyCuratedQueue { get; set; }
Property Value
ShuffleMode
public ShuffleMode.Types.Enum ShuffleMode { get; set; }
Property Value
SkipInterval
public float SkipInterval { get; set; }
Property Value
SourceId
public string SourceId { get; set; }
Property Value
StationURL
public string StationURL { get; set; }
Property Value
SystemAppPlaybackQueueData
public ByteString SystemAppPlaybackQueueData { get; set; }
Property Value
- ByteString
TrackID
public ulong TrackID { 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.
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
otherCommandOptionsAn 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(CommandOptions)
Merges the given message into this one.
public void MergeFrom(CommandOptions other)
Parameters
otherCommandOptions
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.