Module pyatv.core
Core module of pyatv.
Classes
class StateProducer (max_calls: int = 0)
-
Base class for objects announcing state changes to a listener.
Initialize a new StateProducer instance.
Ancestors
- typing.Generic
Subclasses
- AppleTV
- Power
- PushUpdater
- pyatv.mrp.connection.MrpConnection
Instance variables
var listener -> ~StateListener
-
Return current listener object.
Methods
-
def state_was_updated(self) -> None
-
Call when state was updated.