TransparentModeViewModel

Presents the app-wide transparent mode state; the notice host and the Connections banner each hold one.

Constructors

Link copied to clipboard
constructor(controller: TransparentModeController)

Properties

Link copied to clipboard
val state: StateFlow<TransparentModeState>

Functions

Link copied to clipboard
expect open fun addCloseable(closeable: AutoCloseable)
expect fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect fun <T : AutoCloseable> getCloseable(key: String): T?
Link copied to clipboard
Link copied to clipboard
fun turnOff(savedOn: RadioSessionContext? = null)