Table of Contents

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

Constructors

CommandInfo()

public CommandInfo()

CommandInfo(CommandInfo)

public CommandInfo(CommandInfo other)

Parameters

other CommandInfo

Fields

ActiveFieldNumber

Field number for the "active" field.

public const int ActiveFieldNumber = 3

Field Value

int

CanScrubFieldNumber

Field number for the "canScrub" field.

public const int CanScrubFieldNumber = 16

Field Value

int

CommandFieldNumber

Field number for the "command" field.

public const int CommandFieldNumber = 1

Field Value

int

CurrentPlaybackSessionTypesFieldNumber

Field number for the "currentPlaybackSessionTypes" field.

public const int CurrentPlaybackSessionTypesFieldNumber = 24

Field Value

int

CurrentQueueEndActionFieldNumber

Field number for the "currentQueueEndAction" field.

public const int CurrentQueueEndActionFieldNumber = 26

Field Value

int

DisableReasonFieldNumber

Field number for the "disableReason" field.

public const int DisableReasonFieldNumber = 28

Field Value

int

EnabledFieldNumber

Field number for the "enabled" field.

public const int EnabledFieldNumber = 2

Field Value

int

LocalizedShortTitleFieldNumber

Field number for the "localizedShortTitle" field.

public const int LocalizedShortTitleFieldNumber = 9

Field Value

int

LocalizedTitleFieldNumber

Field number for the "localizedTitle" field.

public const int LocalizedTitleFieldNumber = 5

Field Value

int

MaximumRatingFieldNumber

Field number for the "maximumRating" field.

public const int MaximumRatingFieldNumber = 7

Field Value

int

MinimumRatingFieldNumber

Field number for the "minimumRating" field.

public const int MinimumRatingFieldNumber = 6

Field Value

int

NumAvailableSkipsFieldNumber

Field number for the "numAvailableSkips" field.

public const int NumAvailableSkipsFieldNumber = 14

Field Value

int

PlaybackSessionIdentifierFieldNumber

Field number for the "playbackSessionIdentifier" field.

public const int PlaybackSessionIdentifierFieldNumber = 25

Field Value

int

PreferredIntervalsFieldNumber

Field number for the "preferredIntervals" field.

public const int PreferredIntervalsFieldNumber = 4

Field Value

int

PreferredPlaybackRateFieldNumber

Field number for the "preferredPlaybackRate" field.

public const int PreferredPlaybackRateFieldNumber = 22

Field Value

int

PresentationStyleFieldNumber

Field number for the "presentationStyle" field.

public const int PresentationStyleFieldNumber = 12

Field Value

int

RepeatModeFieldNumber

Field number for the "repeatMode" field.

public const int RepeatModeFieldNumber = 10

Field Value

int

ShuffleModeFieldNumber

Field number for the "shuffleMode" field.

public const int ShuffleModeFieldNumber = 11

Field Value

int

SkipFrequencyFieldNumber

Field number for the "skipFrequency" field.

public const int SkipFrequencyFieldNumber = 15

Field Value

int

SkipIntervalFieldNumber

Field number for the "skipInterval" field.

public const int SkipIntervalFieldNumber = 13

Field Value

int

SupportedCustomQueueIdentifiersFieldNumber

Field number for the "supportedCustomQueueIdentifiers" field.

public const int SupportedCustomQueueIdentifiersFieldNumber = 18

Field Value

int

SupportedEndQueueActionsFieldNumber

Field number for the "supportedEndQueueActions" field.

public const int SupportedEndQueueActionsFieldNumber = 27

Field Value

int

SupportedInsertionPositionsFieldNumber

Field number for the "supportedInsertionPositions" field.

public const int SupportedInsertionPositionsFieldNumber = 19

Field Value

int

SupportedPlaybackQueueTypesFieldNumber

Field number for the "supportedPlaybackQueueTypes" field.

public const int SupportedPlaybackQueueTypesFieldNumber = 17

Field Value

int

SupportedPlaybackSessionIdentifiersFieldNumber

Field number for the "supportedPlaybackSessionIdentifiers" field.

public const int SupportedPlaybackSessionIdentifiersFieldNumber = 29

Field Value

int

SupportedPlaybackSessionTypesFieldNumber

Field number for the "supportedPlaybackSessionTypes" field.

public const int SupportedPlaybackSessionTypesFieldNumber = 23

Field Value

int

SupportedRatesFieldNumber

Field number for the "supportedRates" field.

public const int SupportedRatesFieldNumber = 8

Field Value

int

SupportsSharedQueueFieldNumber

Field number for the "supportsSharedQueue" field.

public const int SupportsSharedQueueFieldNumber = 20

Field Value

int

UpNextItemCountFieldNumber

Field number for the "upNextItemCount" field.

public const int UpNextItemCountFieldNumber = 21

Field Value

int

Properties

Active

public bool Active { get; set; }

Property Value

bool

CanScrub

public int CanScrub { get; set; }

Property Value

int

Command

public Command Command { get; set; }

Property Value

Command

CurrentPlaybackSessionTypes

public RepeatedField<string> CurrentPlaybackSessionTypes { get; }

Property Value

RepeatedField<string>

CurrentQueueEndAction

public QueueEndAction.Types.Enum CurrentQueueEndAction { get; set; }

Property Value

QueueEndAction.Types.Enum

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DisableReason

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

Property Value

DisableReason.Types.Enum

Enabled

public bool Enabled { get; set; }

Property Value

bool

HasActive

Gets whether the "active" field is set

public bool HasActive { get; }

Property Value

bool

HasCanScrub

Gets whether the "canScrub" field is set

public bool HasCanScrub { get; }

Property Value

bool

HasCommand

Gets whether the "command" field is set

public bool HasCommand { get; }

Property Value

bool

HasCurrentQueueEndAction

Gets whether the "currentQueueEndAction" field is set

public bool HasCurrentQueueEndAction { get; }

Property Value

bool

HasDisableReason

Gets whether the "disableReason" field is set

public bool HasDisableReason { get; }

Property Value

bool

HasEnabled

Gets whether the "enabled" field is set

public bool HasEnabled { get; }

Property Value

bool

HasLocalizedShortTitle

Gets whether the "localizedShortTitle" field is set

public bool HasLocalizedShortTitle { get; }

Property Value

bool

HasLocalizedTitle

Gets whether the "localizedTitle" field is set

public bool HasLocalizedTitle { get; }

Property Value

bool

HasMaximumRating

Gets whether the "maximumRating" field is set

public bool HasMaximumRating { get; }

Property Value

bool

HasMinimumRating

Gets whether the "minimumRating" field is set

public bool HasMinimumRating { get; }

Property Value

bool

HasNumAvailableSkips

Gets whether the "numAvailableSkips" field is set

public bool HasNumAvailableSkips { get; }

Property Value

bool

HasPlaybackSessionIdentifier

Gets whether the "playbackSessionIdentifier" field is set

public bool HasPlaybackSessionIdentifier { get; }

Property Value

bool

HasPreferredPlaybackRate

Gets whether the "preferredPlaybackRate" field is set

public bool HasPreferredPlaybackRate { get; }

Property Value

bool

HasPresentationStyle

Gets whether the "presentationStyle" field is set

public bool HasPresentationStyle { get; }

Property Value

bool

HasRepeatMode

Gets whether the "repeatMode" field is set

public bool HasRepeatMode { get; }

Property Value

bool

HasShuffleMode

Gets whether the "shuffleMode" field is set

public bool HasShuffleMode { get; }

Property Value

bool

HasSkipFrequency

Gets whether the "skipFrequency" field is set

public bool HasSkipFrequency { get; }

Property Value

bool

HasSkipInterval

Gets whether the "skipInterval" field is set

public bool HasSkipInterval { get; }

Property Value

bool

HasSupportsSharedQueue

Gets whether the "supportsSharedQueue" field is set

public bool HasSupportsSharedQueue { get; }

Property Value

bool

HasUpNextItemCount

Gets whether the "upNextItemCount" field is set

public bool HasUpNextItemCount { get; }

Property Value

bool

LocalizedShortTitle

public string LocalizedShortTitle { get; set; }

Property Value

string

LocalizedTitle

public string LocalizedTitle { get; set; }

Property Value

string

MaximumRating

public float MaximumRating { get; set; }

Property Value

float

MinimumRating

public float MinimumRating { get; set; }

Property Value

float

NumAvailableSkips

public int NumAvailableSkips { get; set; }

Property Value

int

Parser

public static MessageParser<CommandInfo> Parser { get; }

Property Value

MessageParser<CommandInfo>

PlaybackSessionIdentifier

public string PlaybackSessionIdentifier { get; set; }

Property Value

string

PreferredIntervals

public RepeatedField<double> PreferredIntervals { get; }

Property Value

RepeatedField<double>

PreferredPlaybackRate

public float PreferredPlaybackRate { get; set; }

Property Value

float

PresentationStyle

public int PresentationStyle { get; set; }

Property Value

int

RepeatMode

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

Property Value

RepeatMode.Types.Enum

ShuffleMode

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

Property Value

ShuffleMode.Types.Enum

SkipFrequency

public int SkipFrequency { get; set; }

Property Value

int

SkipInterval

public int SkipInterval { get; set; }

Property Value

int

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

bool

UpNextItemCount

public int UpNextItemCount { get; set; }

Property Value

int

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

other CommandInfo

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

Merges the given message into this one.

public void MergeFrom(CommandInfo other)

Parameters

other CommandInfo

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.