DesktopRadioLinks

class DesktopRadioLinks(buildConfigProvider: BuildConfigProvider, networkRepository: NetworkRepository, serialDevicePresence: SerialDevicePresence, bluetoothRepository: BluetoothRepository, pipeline: RadioSessionPipeline) : BaseRadioLinks(source)

Desktop's radio links: Bluetooth, TCP, WebSocket, serial ports and, in debug builds, the demo radio.

Constructors

Link copied to clipboard
constructor(buildConfigProvider: BuildConfigProvider, networkRepository: NetworkRepository, serialDevicePresence: SerialDevicePresence, bluetoothRepository: BluetoothRepository, pipeline: RadioSessionPipeline)

Properties

Link copied to clipboard
open override val isReplayTransportAvailable: Boolean = false

Desktop bundles no capture asset, so a replay address opens the mock.

Link copied to clipboard
open override val mockTransportEnabled: StateFlow<Boolean>
Link copied to clipboard

Functions

Link copied to clipboard
open override fun isAddressValid(address: String?): Boolean
Link copied to clipboard
open override fun open(address: String, scope: CoroutineScope): RadioLink?
Link copied to clipboard
open override fun toInterfaceAddress(interfaceId: InterfaceId, rest: String): String