class ChannelConfigRepository
The channel config repository stores all channel configs in room as well as in memory Call channelConfigRepository.load to load all configs into memory
<init> |
The channel config repository stores all channel configs in room as well as in memory Call channelConfigRepository.load to load all configs into memory ChannelConfigRepository(channelConfigDao: ChannelConfigDao) |
channelConfigDao |
var channelConfigDao: ChannelConfigDao |
channelConfigs |
var channelConfigs: MutableMap<String, Config> |
clearCache |
fun clearCache(): Unit |
insert |
suspend fun insert(configEntities: List<ChannelConfigEntity>): Unit |
insertConfigs |
suspend fun insertConfigs(configs: MutableMap<String, Config>): Unit |
load |
suspend fun load(): Unit |
select |
fun select(channelType: String): Config? |