OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
radio.streaming_radio_controller.StreamingRadioController Class Reference

Coordinate streaming-radio station selection and audio playback. More...

Public Member Functions

StreamingRadioStation|None current_station (self)
 Return the station selected for current playback.
bool is_playing (self)
 Return whether the streaming audio player is currently active.
StreamingRadioPlaybackState snapshot (self)
 Read current playback without waiting for an in-flight native operation.
None play (self, StreamingRadioStation station)
 Serialize native playback and recheck connectivity after startup.
None stop (self)
 Serialize stopping against startup and clear the selected station.
None stop_if_offline (self)
 Recheck current connectivity after acquiring native operation ownership.
None close (self)
 Retire playback before waiting for pending native operations to finish.

Detailed Description

Coordinate streaming-radio station selection and audio playback.


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