Table of Contents

Class AVEndpointDescriptor

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

Constructors

AVEndpointDescriptor()

public AVEndpointDescriptor()

AVEndpointDescriptor(AVEndpointDescriptor)

public AVEndpointDescriptor(AVEndpointDescriptor other)

Parameters

other AVEndpointDescriptor

Fields

CanModifyGroupMembershipFieldNumber

Field number for the "canModifyGroupMembership" field.

public const int CanModifyGroupMembershipFieldNumber = 9

Field Value

int

ConnectionTypeFieldNumber

Field number for the "connectionType" field.

public const int ConnectionTypeFieldNumber = 8

Field Value

int

InstanceIdentifierFieldNumber

Field number for the "instanceIdentifier" field.

public const int InstanceIdentifierFieldNumber = 6

Field Value

int

IsLocalEndpointFieldNumber

Field number for the "isLocalEndpoint" field.

public const int IsLocalEndpointFieldNumber = 5

Field Value

int

IsProxyGroupPlayerFieldNumber

Field number for the "isProxyGroupPlayer" field.

public const int IsProxyGroupPlayerFieldNumber = 7

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

UniqueIdentifierFieldNumber

Field number for the "uniqueIdentifier" field.

public const int UniqueIdentifierFieldNumber = 2

Field Value

int

Properties

CanModifyGroupMembership

repeated ... _personalOutputDevices = 10;

public bool CanModifyGroupMembership { get; set; }

Property Value

bool

ConnectionType

public int ConnectionType { get; set; }

Property Value

int

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasCanModifyGroupMembership

Gets whether the "canModifyGroupMembership" field is set

public bool HasCanModifyGroupMembership { get; }

Property Value

bool

HasConnectionType

Gets whether the "connectionType" field is set

public bool HasConnectionType { get; }

Property Value

bool

HasInstanceIdentifier

Gets whether the "instanceIdentifier" field is set

public bool HasInstanceIdentifier { get; }

Property Value

bool

HasIsLocalEndpoint

Gets whether the "isLocalEndpoint" field is set

public bool HasIsLocalEndpoint { get; }

Property Value

bool

HasIsProxyGroupPlayer

Gets whether the "isProxyGroupPlayer" field is set

public bool HasIsProxyGroupPlayer { get; }

Property Value

bool

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

HasUniqueIdentifier

Gets whether the "uniqueIdentifier" field is set

public bool HasUniqueIdentifier { get; }

Property Value

bool

InstanceIdentifier

public string InstanceIdentifier { get; set; }

Property Value

string

IsLocalEndpoint

repeated ... outputDevices = 3; optional ... designatedGroupLeader = 4;

public bool IsLocalEndpoint { get; set; }

Property Value

bool

IsProxyGroupPlayer

public bool IsProxyGroupPlayer { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<AVEndpointDescriptor> Parser { get; }

Property Value

MessageParser<AVEndpointDescriptor>

UniqueIdentifier

public string UniqueIdentifier { get; set; }

Property Value

string

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.

ClearCanModifyGroupMembership()

Clears the value of the "canModifyGroupMembership" field

public void ClearCanModifyGroupMembership()

ClearConnectionType()

Clears the value of the "connectionType" field

public void ClearConnectionType()

ClearInstanceIdentifier()

Clears the value of the "instanceIdentifier" field

public void ClearInstanceIdentifier()

ClearIsLocalEndpoint()

Clears the value of the "isLocalEndpoint" field

public void ClearIsLocalEndpoint()

ClearIsProxyGroupPlayer()

Clears the value of the "isProxyGroupPlayer" field

public void ClearIsProxyGroupPlayer()

ClearName()

Clears the value of the "name" field

public void ClearName()

ClearUniqueIdentifier()

Clears the value of the "uniqueIdentifier" field

public void ClearUniqueIdentifier()

Clone()

Creates a deep clone of this object.

public AVEndpointDescriptor Clone()

Returns

AVEndpointDescriptor

A deep clone of this object.

Equals(AVEndpointDescriptor)

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

public bool Equals(AVEndpointDescriptor other)

Parameters

other AVEndpointDescriptor

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

Merges the given message into this one.

public void MergeFrom(AVEndpointDescriptor other)

Parameters

other AVEndpointDescriptor

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.