SharedRadioInterfaceService
class SharedRadioInterfaceService(dispatchers: CoroutineDispatchers, environment: LinkEnvironmentObserver, processLifecycle: Lifecycle, radioPrefs: RadioPrefs, links: RadioLinks, analytics: PlatformAnalytics, radioOperationLock: RadioOperationLock, serviceStateWriter: ServiceStateWriter) : RadioInterfaceService(source)
The selected radio's SDK client and the app sessions it carries.
The SDK client owns connecting, backoff and reconnecting. This service builds one client per selected device through the platform's RadioLinks, connects and disconnects it, asks it to retry at once when Bluetooth, the network or the selected USB device comes back, keeps it off the radio while a RadioOperation needs the port, and publishes its ConnectionState to ServiceStateWriter. ConnectionState.Connected shows only once the app holds the session's config and nodes.
Constructors
Link copied to clipboard
constructor(dispatchers: CoroutineDispatchers, environment: LinkEnvironmentObserver, processLifecycle: Lifecycle, radioPrefs: RadioPrefs, links: RadioLinks, analytics: PlatformAnalytics, radioOperationLock: RadioOperationLock, serviceStateWriter: ServiceStateWriter)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard