Class CommandInfo
- Namespace
- AppleTvControlLibrary.Mrp.Protobuf
- Assembly
- AppleTvControlLibrary.Mrp.dll
public sealed class CommandInfo : IMessage<CommandInfo>, IEquatable<CommandInfo>, IDeepCloneable<CommandInfo>, IBufferMessage, IMessage
- Inheritance
-
CommandInfo
- Implements
-
IMessage<CommandInfo>IDeepCloneable<CommandInfo>IBufferMessageIMessage
- Inherited Members
Constructors
CommandInfo()
public CommandInfo()
CommandInfo(CommandInfo)
public CommandInfo(CommandInfo other)
Parameters
otherCommandInfo
Fields
ActiveFieldNumber
Field number for the "active" field.
public const int ActiveFieldNumber = 3
Field Value
CanScrubFieldNumber
Field number for the "canScrub" field.
public const int CanScrubFieldNumber = 16
Field Value
CommandFieldNumber
Field number for the "command" field.
public const int CommandFieldNumber = 1
Field Value
CurrentPlaybackSessionTypesFieldNumber
Field number for the "currentPlaybackSessionTypes" field.
public const int CurrentPlaybackSessionTypesFieldNumber = 24
Field Value
CurrentQueueEndActionFieldNumber
Field number for the "currentQueueEndAction" field.
public const int CurrentQueueEndActionFieldNumber = 26
Field Value
DisableReasonFieldNumber
Field number for the "disableReason" field.
public const int DisableReasonFieldNumber = 28
Field Value
EnabledFieldNumber
Field number for the "enabled" field.
public const int EnabledFieldNumber = 2
Field Value
LocalizedShortTitleFieldNumber
Field number for the "localizedShortTitle" field.
public const int LocalizedShortTitleFieldNumber = 9
Field Value
LocalizedTitleFieldNumber
Field number for the "localizedTitle" field.
public const int LocalizedTitleFieldNumber = 5
Field Value
MaximumRatingFieldNumber
Field number for the "maximumRating" field.
public const int MaximumRatingFieldNumber = 7
Field Value
MinimumRatingFieldNumber
Field number for the "minimumRating" field.
public const int MinimumRatingFieldNumber = 6
Field Value
NumAvailableSkipsFieldNumber
Field number for the "numAvailableSkips" field.
public const int NumAvailableSkipsFieldNumber = 14
Field Value
PlaybackSessionIdentifierFieldNumber
Field number for the "playbackSessionIdentifier" field.
public const int PlaybackSessionIdentifierFieldNumber = 25
Field Value
PreferredIntervalsFieldNumber
Field number for the "preferredIntervals" field.
public const int PreferredIntervalsFieldNumber = 4
Field Value
PreferredPlaybackRateFieldNumber
Field number for the "preferredPlaybackRate" field.
public const int PreferredPlaybackRateFieldNumber = 22
Field Value
PresentationStyleFieldNumber
Field number for the "presentationStyle" field.
public const int PresentationStyleFieldNumber = 12
Field Value
RepeatModeFieldNumber
Field number for the "repeatMode" field.
public const int RepeatModeFieldNumber = 10
Field Value
ShuffleModeFieldNumber
Field number for the "shuffleMode" field.
public const int ShuffleModeFieldNumber = 11
Field Value
SkipFrequencyFieldNumber
Field number for the "skipFrequency" field.
public const int SkipFrequencyFieldNumber = 15
Field Value
SkipIntervalFieldNumber
Field number for the "skipInterval" field.
public const int SkipIntervalFieldNumber = 13
Field Value
SupportedCustomQueueIdentifiersFieldNumber
Field number for the "supportedCustomQueueIdentifiers" field.
public const int SupportedCustomQueueIdentifiersFieldNumber = 18
Field Value
SupportedEndQueueActionsFieldNumber
Field number for the "supportedEndQueueActions" field.
public const int SupportedEndQueueActionsFieldNumber = 27
Field Value
SupportedInsertionPositionsFieldNumber
Field number for the "supportedInsertionPositions" field.
public const int SupportedInsertionPositionsFieldNumber = 19
Field Value
SupportedPlaybackQueueTypesFieldNumber
Field number for the "supportedPlaybackQueueTypes" field.
public const int SupportedPlaybackQueueTypesFieldNumber = 17
Field Value
SupportedPlaybackSessionIdentifiersFieldNumber
Field number for the "supportedPlaybackSessionIdentifiers" field.
public const int SupportedPlaybackSessionIdentifiersFieldNumber = 29
Field Value
SupportedPlaybackSessionTypesFieldNumber
Field number for the "supportedPlaybackSessionTypes" field.
public const int SupportedPlaybackSessionTypesFieldNumber = 23
Field Value
SupportedRatesFieldNumber
Field number for the "supportedRates" field.
public const int SupportedRatesFieldNumber = 8
Field Value
SupportsSharedQueueFieldNumber
Field number for the "supportsSharedQueue" field.
public const int SupportsSharedQueueFieldNumber = 20
Field Value
UpNextItemCountFieldNumber
Field number for the "upNextItemCount" field.
public const int UpNextItemCountFieldNumber = 21
Field Value
Properties
Active
public bool Active { get; set; }
Property Value
CanScrub
public int CanScrub { get; set; }
Property Value
Command
public Command Command { get; set; }
Property Value
CurrentPlaybackSessionTypes
public RepeatedField<string> CurrentPlaybackSessionTypes { get; }
Property Value
- RepeatedField<string>
CurrentQueueEndAction
public QueueEndAction.Types.Enum CurrentQueueEndAction { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisableReason
public DisableReason.Types.Enum DisableReason { get; set; }
Property Value
Enabled
public bool Enabled { get; set; }
Property Value
HasActive
Gets whether the "active" field is set
public bool HasActive { get; }
Property Value
HasCanScrub
Gets whether the "canScrub" field is set
public bool HasCanScrub { get; }
Property Value
HasCommand
Gets whether the "command" field is set
public bool HasCommand { get; }
Property Value
HasCurrentQueueEndAction
Gets whether the "currentQueueEndAction" field is set
public bool HasCurrentQueueEndAction { get; }
Property Value
HasDisableReason
Gets whether the "disableReason" field is set
public bool HasDisableReason { get; }
Property Value
HasEnabled
Gets whether the "enabled" field is set
public bool HasEnabled { get; }
Property Value
HasLocalizedShortTitle
Gets whether the "localizedShortTitle" field is set
public bool HasLocalizedShortTitle { get; }
Property Value
HasLocalizedTitle
Gets whether the "localizedTitle" field is set
public bool HasLocalizedTitle { get; }
Property Value
HasMaximumRating
Gets whether the "maximumRating" field is set
public bool HasMaximumRating { get; }
Property Value
HasMinimumRating
Gets whether the "minimumRating" field is set
public bool HasMinimumRating { get; }
Property Value
HasNumAvailableSkips
Gets whether the "numAvailableSkips" field is set
public bool HasNumAvailableSkips { get; }
Property Value
HasPlaybackSessionIdentifier
Gets whether the "playbackSessionIdentifier" field is set
public bool HasPlaybackSessionIdentifier { get; }
Property Value
HasPreferredPlaybackRate
Gets whether the "preferredPlaybackRate" field is set
public bool HasPreferredPlaybackRate { get; }
Property Value
HasPresentationStyle
Gets whether the "presentationStyle" field is set
public bool HasPresentationStyle { get; }
Property Value
HasRepeatMode
Gets whether the "repeatMode" field is set
public bool HasRepeatMode { get; }
Property Value
HasShuffleMode
Gets whether the "shuffleMode" field is set
public bool HasShuffleMode { get; }
Property Value
HasSkipFrequency
Gets whether the "skipFrequency" field is set
public bool HasSkipFrequency { get; }
Property Value
HasSkipInterval
Gets whether the "skipInterval" field is set
public bool HasSkipInterval { get; }
Property Value
HasSupportsSharedQueue
Gets whether the "supportsSharedQueue" field is set
public bool HasSupportsSharedQueue { get; }
Property Value
HasUpNextItemCount
Gets whether the "upNextItemCount" field is set
public bool HasUpNextItemCount { get; }
Property Value
LocalizedShortTitle
public string LocalizedShortTitle { get; set; }
Property Value
LocalizedTitle
public string LocalizedTitle { get; set; }
Property Value
MaximumRating
public float MaximumRating { get; set; }
Property Value
MinimumRating
public float MinimumRating { get; set; }
Property Value
NumAvailableSkips
public int NumAvailableSkips { get; set; }
Property Value
Parser
public static MessageParser<CommandInfo> Parser { get; }
Property Value
- MessageParser<CommandInfo>
PlaybackSessionIdentifier
public string PlaybackSessionIdentifier { get; set; }
Property Value
PreferredIntervals
public RepeatedField<double> PreferredIntervals { get; }
Property Value
- RepeatedField<double>
PreferredPlaybackRate
public float PreferredPlaybackRate { get; set; }
Property Value
PresentationStyle
public int PresentationStyle { get; set; }
Property Value
RepeatMode
public RepeatMode.Types.Enum RepeatMode { get; set; }
Property Value
ShuffleMode
public ShuffleMode.Types.Enum ShuffleMode { get; set; }
Property Value
SkipFrequency
public int SkipFrequency { get; set; }
Property Value
SkipInterval
public int SkipInterval { get; set; }
Property Value
SupportedCustomQueueIdentifiers
public RepeatedField<string> SupportedCustomQueueIdentifiers { get; }
Property Value
- RepeatedField<string>
SupportedEndQueueActions
public RepeatedField<QueueEndAction.Types.Enum> SupportedEndQueueActions { get; }
Property Value
- RepeatedField<QueueEndAction.Types.Enum>
SupportedInsertionPositions
public RepeatedField<int> SupportedInsertionPositions { get; }
Property Value
- RepeatedField<int>
SupportedPlaybackQueueTypes
public RepeatedField<int> SupportedPlaybackQueueTypes { get; }
Property Value
- RepeatedField<int>
SupportedPlaybackSessionIdentifiers
public RepeatedField<PreloadedPlaybackSessionInfo> SupportedPlaybackSessionIdentifiers { get; }
Property Value
- RepeatedField<PreloadedPlaybackSessionInfo>
SupportedPlaybackSessionTypes
public RepeatedField<string> SupportedPlaybackSessionTypes { get; }
Property Value
- RepeatedField<string>
SupportedRates
public RepeatedField<float> SupportedRates { get; }
Property Value
- RepeatedField<float>
SupportsSharedQueue
public bool SupportsSharedQueue { get; set; }
Property Value
UpNextItemCount
public int UpNextItemCount { 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.
ClearActive()
Clears the value of the "active" field
public void ClearActive()
ClearCanScrub()
Clears the value of the "canScrub" field
public void ClearCanScrub()
ClearCommand()
Clears the value of the "command" field
public void ClearCommand()
ClearCurrentQueueEndAction()
Clears the value of the "currentQueueEndAction" field
public void ClearCurrentQueueEndAction()
ClearDisableReason()
Clears the value of the "disableReason" field
public void ClearDisableReason()
ClearEnabled()
Clears the value of the "enabled" field
public void ClearEnabled()
ClearLocalizedShortTitle()
Clears the value of the "localizedShortTitle" field
public void ClearLocalizedShortTitle()
ClearLocalizedTitle()
Clears the value of the "localizedTitle" field
public void ClearLocalizedTitle()
ClearMaximumRating()
Clears the value of the "maximumRating" field
public void ClearMaximumRating()
ClearMinimumRating()
Clears the value of the "minimumRating" field
public void ClearMinimumRating()
ClearNumAvailableSkips()
Clears the value of the "numAvailableSkips" field
public void ClearNumAvailableSkips()
ClearPlaybackSessionIdentifier()
Clears the value of the "playbackSessionIdentifier" field
public void ClearPlaybackSessionIdentifier()
ClearPreferredPlaybackRate()
Clears the value of the "preferredPlaybackRate" field
public void ClearPreferredPlaybackRate()
ClearPresentationStyle()
Clears the value of the "presentationStyle" field
public void ClearPresentationStyle()
ClearRepeatMode()
Clears the value of the "repeatMode" field
public void ClearRepeatMode()
ClearShuffleMode()
Clears the value of the "shuffleMode" field
public void ClearShuffleMode()
ClearSkipFrequency()
Clears the value of the "skipFrequency" field
public void ClearSkipFrequency()
ClearSkipInterval()
Clears the value of the "skipInterval" field
public void ClearSkipInterval()
ClearSupportsSharedQueue()
Clears the value of the "supportsSharedQueue" field
public void ClearSupportsSharedQueue()
ClearUpNextItemCount()
Clears the value of the "upNextItemCount" field
public void ClearUpNextItemCount()
Clone()
Creates a deep clone of this object.
public CommandInfo Clone()
Returns
- CommandInfo
A deep clone of this object.
Equals(CommandInfo)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(CommandInfo other)
Parameters
otherCommandInfoAn 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(CommandInfo)
Merges the given message into this one.
public void MergeFrom(CommandInfo other)
Parameters
otherCommandInfo
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.