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
updaterMrpPushUpdaterThe updater that failed to produce an update.
exceptionExceptionThe exception describing the failure.
PlaystatusUpdate(MrpPlayerState)
Called with the state of the currently active player whenever it changes.
void PlaystatusUpdate(MrpPlayerState playing)
Parameters
playingMrpPlayerStateThe current player state.