Table of Contents

Interface IMrpPushUpdaterListener

Namespace
AppleTvControlLibrary.Mrp.PlayerState
Assembly
AppleTvControlLibrary.Mrp.dll

Listener interface for MrpPushUpdater, mirroring pyatv's PushListener (playstatus_update/playstatus_error) callback pair.

public interface IMrpPushUpdaterListener

Methods

PlaystatusError(MrpPushUpdater, Exception)

Called when producing an update failed for a reason other than cancellation.

void PlaystatusError(MrpPushUpdater updater, Exception exception)

Parameters

updater MrpPushUpdater

The updater that failed to produce an update.

exception Exception

The exception describing the failure.

PlaystatusUpdate(MrpPlayerState)

Called with the state of the currently active player whenever it changes.

void PlaystatusUpdate(MrpPlayerState playing)

Parameters

playing MrpPlayerState

The current player state.