LicensesViewModel

Owns the licenses screen state.

The bundled library metadata is parsed by a Compose producer, so the screen reports when that finishes, and this ViewModel turns it into the state the screen tracks and the loadLibraries report. Until then the count is loading.

Constructors

Link copied to clipboard
constructor(telemetryRepository: TelemetryRepository)

Properties

Link copied to clipboard
val messages: StateFlow<ImmutableList<UiMessage>>
Link copied to clipboard
val state: StateFlow<LicensesUiState>

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard