ChannelSetDataSource

class ChannelSetDataSource(channelSetStore: ERROR CLASS: Symbol not found for DataStore<ERROR CLASS: Symbol not found for ChannelSet>)(source)

Class that handles saving and retrieving ChannelSet data.

Constructors

Link copied to clipboard
constructor(channelSetStore: ERROR CLASS: Symbol not found for DataStore<ERROR CLASS: Symbol not found for ChannelSet>)

Properties

Link copied to clipboard
val channelSetFlow: ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for ChannelSet>

Functions

Link copied to clipboard
suspend fun clearChannelSet()
Link copied to clipboard
suspend fun replaceAllSettings(settingsList: List<ERROR CLASS: Symbol not found for ChannelSettings>)

Replaces all ChannelSettings in a single atomic operation.

Link copied to clipboard
suspend fun setLoraConfig(config: ERROR CLASS: Symbol not found for Config.LoRaConfig)
Link copied to clipboard
suspend fun updateChannelSettings(channel: ERROR CLASS: Symbol not found for Channel)

Updates the ChannelSettings list with the provided channel.