OverlayConfigDao

Per messaging-app overlay configuration.

Functions

Link copied to clipboard
abstract suspend fun delete(packageName: String)

Removes overlay config for packageName.

Link copied to clipboard
abstract suspend fun get(packageName: String): OverlayAppConfigEntity?

Loads overlay config for packageName.

Link copied to clipboard
abstract fun observeAll(): Flow<List<OverlayAppConfigEntity>>

Observes all overlay configs sorted by package name.

Link copied to clipboard

Observes enabled overlay configs only.

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

Inserts or updates overlay config for an app.