Table of Contents

Namespace AppleTvControlLibrary.Mrp.PlayerState

Classes

MrpClient

Represents a single MRP media player client (identified by bundle identifier).

MrpNoAsyncListenerException

Raised by Start() when no Listener has been set, mirroring pyatv's NoAsyncListenerError.

MrpPlayerState

Represents what is currently playing for a single player.

MrpPlayerStateManager

Manages state of all media players, dispatching MRP state-update messages onto MrpClient/MrpPlayerState instances and notifying a listener whenever state relevant to the active client/player changes.

MrpPushUpdater

Forwards MrpPlayerStateManager updates for the active client/player to a registered IMrpPushUpdaterListener, mirroring pyatv's MrpPushUpdater.

Interfaces

IMrpPlayerStateListener

Listener interface notified whenever the state relevant to the currently active client/player changes (or, for the "always" case in pyatv, on every update regardless of relevance).

IMrpPushUpdaterListener

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