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
-
IMessage<NowPlayingClient>IDeepCloneable<NowPlayingClient>IBufferMessageIMessage
- Inherited Members
Constructors
NowPlayingClient()
public NowPlayingClient()
NowPlayingClient(NowPlayingClient)
public NowPlayingClient(NowPlayingClient other)
Parameters
otherNowPlayingClient
Fields
BundleIdentifierFieldNumber
Field number for the "bundleIdentifier" field.
public const int BundleIdentifierFieldNumber = 2
Field Value
BundleIdentifierHierarchysFieldNumber
Field number for the "bundleIdentifierHierarchys" field.
public const int BundleIdentifierHierarchysFieldNumber = 8
Field Value
DisplayNameFieldNumber
Field number for the "displayName" field.
public const int DisplayNameFieldNumber = 7
Field Value
NowPlayingVisibilityFieldNumber
Field number for the "nowPlayingVisibility" field.
public const int NowPlayingVisibilityFieldNumber = 5
Field Value
ParentApplicationBundleIdentifierFieldNumber
Field number for the "parentApplicationBundleIdentifier" field.
public const int ParentApplicationBundleIdentifierFieldNumber = 3
Field Value
ProcessIdentifierFieldNumber
Field number for the "processIdentifier" field.
public const int ProcessIdentifierFieldNumber = 1
Field Value
ProcessUserIdentifierFieldNumber
Field number for the "processUserIdentifier" field.
public const int ProcessUserIdentifierFieldNumber = 4
Field Value
Properties
BundleIdentifier
public string BundleIdentifier { get; set; }
Property Value
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
HasBundleIdentifier
Gets whether the "bundleIdentifier" field is set
public bool HasBundleIdentifier { get; }
Property Value
HasDisplayName
Gets whether the "displayName" field is set
public bool HasDisplayName { get; }
Property Value
HasNowPlayingVisibility
Gets whether the "nowPlayingVisibility" field is set
public bool HasNowPlayingVisibility { get; }
Property Value
HasParentApplicationBundleIdentifier
Gets whether the "parentApplicationBundleIdentifier" field is set
public bool HasParentApplicationBundleIdentifier { get; }
Property Value
HasProcessIdentifier
Gets whether the "processIdentifier" field is set
public bool HasProcessIdentifier { get; }
Property Value
HasProcessUserIdentifier
Gets whether the "processUserIdentifier" field is set
public bool HasProcessUserIdentifier { get; }
Property Value
NowPlayingVisibility
public int NowPlayingVisibility { get; set; }
Property Value
ParentApplicationBundleIdentifier
public string ParentApplicationBundleIdentifier { get; set; }
Property Value
Parser
public static MessageParser<NowPlayingClient> Parser { get; }
Property Value
- MessageParser<NowPlayingClient>
ProcessIdentifier
public int ProcessIdentifier { get; set; }
Property Value
ProcessUserIdentifier
public int ProcessUserIdentifier { 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.
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
otherNowPlayingClientAn 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(NowPlayingClient)
Merges the given message into this one.
public void MergeFrom(NowPlayingClient other)
Parameters
otherNowPlayingClient
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.