ChannelSetDao

Per-device persistence of the connected device's ChannelSetEntity.

Functions

Link copied to clipboard
abstract suspend fun clear()
Link copied to clipboard
abstract suspend fun get(): ChannelSetEntity?

One-shot read of the stored channel set for read-modify-write updates; null when none is persisted yet.

Link copied to clipboard
abstract fun observe(): Flow<ChannelSetEntity?>

Observes the single stored channel set, emitting null when none has been persisted for this device yet.

Link copied to clipboard
abstract suspend fun upsert(entity: ChannelSetEntity)