Table of Contents

Interface IDataStreamListener

Namespace
AppleTvControlLibrary.Mrp.AirPlay.Channels
Assembly
AppleTvControlLibrary.Mrp.dll

Listener interface for DataStreamChannel.

public interface IDataStreamListener

Methods

HandleConnectionLost(Exception?)

Device connection was dropped.

void HandleConnectionLost(Exception? exception)

Parameters

exception Exception

The exception that caused the drop, or null for a clean close.

HandleProtobuf(ProtocolMessage)

Handle an incoming protobuf message tunneled over the data channel.

void HandleProtobuf(ProtocolMessage message)

Parameters

message ProtocolMessage

The decoded message.