OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
radio.streaming_radio_backend_if.StreamingRadioBackendIf Class Reference

Serialize playback in the backend and expose immutable snapshots. More...

Inheritance diagram for radio.streaming_radio_backend_if.StreamingRadioBackendIf:
ui.radio.streaming_radio_state_source_if.StreamingRadioStateSourceIf

Public Member Functions

None play (self, StreamingRadioStation station)
 Start station playback.
None stop (self)
 Stop current streaming playback.
Public Member Functions inherited from ui.radio.streaming_radio_state_source_if.StreamingRadioStateSourceIf
StreamingRadioPlaybackState snapshot (self)
 Read the current playback state.

Detailed Description

Serialize playback in the backend and expose immutable snapshots.

Member Function Documentation

◆ play()

None radio.streaming_radio_backend_if.StreamingRadioBackendIf.play ( self,
StreamingRadioStation station )

Start station playback.

Parameters
stationStation metadata with resolved stream URL.

The documentation for this class was generated from the following file:
  • controllers/radio/streaming_radio_backend_if.py