Table of Contents

Class NowPlayingClient

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

Constructors

NowPlayingClient()

public NowPlayingClient()

NowPlayingClient(NowPlayingClient)

public NowPlayingClient(NowPlayingClient other)

Parameters

other NowPlayingClient

Fields

BundleIdentifierFieldNumber

Field number for the "bundleIdentifier" field.

public const int BundleIdentifierFieldNumber = 2

Field Value

int

BundleIdentifierHierarchysFieldNumber

Field number for the "bundleIdentifierHierarchys" field.

public const int BundleIdentifierHierarchysFieldNumber = 8

Field Value

int

DisplayNameFieldNumber

Field number for the "displayName" field.

public const int DisplayNameFieldNumber = 7

Field Value

int

NowPlayingVisibilityFieldNumber

Field number for the "nowPlayingVisibility" field.

public const int NowPlayingVisibilityFieldNumber = 5

Field Value

int

ParentApplicationBundleIdentifierFieldNumber

Field number for the "parentApplicationBundleIdentifier" field.

public const int ParentApplicationBundleIdentifierFieldNumber = 3

Field Value

int

ProcessIdentifierFieldNumber

Field number for the "processIdentifier" field.

public const int ProcessIdentifierFieldNumber = 1

Field Value

int

ProcessUserIdentifierFieldNumber

Field number for the "processUserIdentifier" field.

public const int ProcessUserIdentifierFieldNumber = 4

Field Value

int

Properties

BundleIdentifier

public string BundleIdentifier { get; set; }

Property Value

string

BundleIdentifierHierarchys

public RepeatedField<string> BundleIdentifierHierarchys { get; }

Property Value

RepeatedField<string>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DisplayName

optional TintColor tintColor = 6;

public string DisplayName { get; set; }

Property Value

string

HasBundleIdentifier

Gets whether the "bundleIdentifier" field is set

public bool HasBundleIdentifier { get; }

Property Value

bool

HasDisplayName

Gets whether the "displayName" field is set

public bool HasDisplayName { get; }

Property Value

bool

HasNowPlayingVisibility

Gets whether the "nowPlayingVisibility" field is set

public bool HasNowPlayingVisibility { get; }

Property Value

bool

HasParentApplicationBundleIdentifier

Gets whether the "parentApplicationBundleIdentifier" field is set

public bool HasParentApplicationBundleIdentifier { get; }

Property Value

bool

HasProcessIdentifier

Gets whether the "processIdentifier" field is set

public bool HasProcessIdentifier { get; }

Property Value

bool

HasProcessUserIdentifier

Gets whether the "processUserIdentifier" field is set

public bool HasProcessUserIdentifier { get; }

Property Value

bool

NowPlayingVisibility

public int NowPlayingVisibility { get; set; }

Property Value

int

ParentApplicationBundleIdentifier

public string ParentApplicationBundleIdentifier { get; set; }

Property Value

string

Parser

public static MessageParser<NowPlayingClient> Parser { get; }

Property Value

MessageParser<NowPlayingClient>

ProcessIdentifier

public int ProcessIdentifier { get; set; }

Property Value

int

ProcessUserIdentifier

public int ProcessUserIdentifier { 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.

ClearBundleIdentifier()

Clears the value of the "bundleIdentifier" field

public void ClearBundleIdentifier()

ClearDisplayName()

Clears the value of the "displayName" field

public void ClearDisplayName()

ClearNowPlayingVisibility()

Clears the value of the "nowPlayingVisibility" field

public void ClearNowPlayingVisibility()

ClearParentApplicationBundleIdentifier()

Clears the value of the "parentApplicationBundleIdentifier" field

public void ClearParentApplicationBundleIdentifier()

ClearProcessIdentifier()

Clears the value of the "processIdentifier" field

public void ClearProcessIdentifier()

ClearProcessUserIdentifier()

Clears the value of the "processUserIdentifier" field

public void ClearProcessUserIdentifier()

Clone()

Creates a deep clone of this object.

public NowPlayingClient Clone()

Returns

NowPlayingClient

A deep clone of this object.

Equals(NowPlayingClient)

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

public bool Equals(NowPlayingClient other)

Parameters

other NowPlayingClient

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

Merges the given message into this one.

public void MergeFrom(NowPlayingClient other)

Parameters

other NowPlayingClient

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.