librespot-python/librespot/dealer/DealerClient.py

23 lines
505 B
Python
Raw Normal View History

2021-02-24 00:46:59 +01:00
from __future__ import annotations
2021-05-22 03:26:35 +02:00
2021-04-24 12:17:02 +02:00
import typing
2021-02-24 00:46:59 +01:00
2021-05-22 03:26:35 +02:00
from librespot.standard.Closeable import Closeable
2021-02-24 00:46:59 +01:00
class DealerClient(Closeable):
def __init__(self, session):
pass
def connect(self):
pass
2021-05-22 03:27:30 +02:00
def add_message_listener(self, listener: DealerClient.MessageListener,
*uris: str):
2021-02-24 00:46:59 +01:00
pass
class MessageListener:
2021-05-22 03:27:30 +02:00
def on_message(self, uri: str, headers: typing.Dict[str, str],
payload: bytes):
2021-02-24 00:46:59 +01:00
pass