Opens a connection to the AppleTV over the MRP protocol.
The credentials object for this AppleTV
A promise that resolves to the AppleTV object.
Pair with an already discovered AppleTV.
A promise that resolves to the AppleTV object.
Requests the current artwork from the Apple TV.
Image width
Image height
A Promise that resolves to a Buffer of data.
Requests the current playback queue from the Apple TV.
Options to send
A Promise that resolves to a NewPlayingInfo object.
Send a Protobuf message to the AppleTV. This is for advanced usage only.
The Protobuf filename of the message type.
The name of the message.
The message body
Whether or not to wait for a response before resolving the Promise.
A promise that resolves to the response from the AppleTV.
Convert a string representation of a key to the correct enum type.
The string.
The key enum value.
Generated using TypeDoc
Closes the connection to the Apple TV.