DeviceLinkDirectoryViewModel

Backs the Settings "Device Links" directory: all imported msh.to links, sorted by short code.

Constructors

Link copied to clipboard
constructor(deviceLinkRepository: DeviceLinkRepository)

Properties

Link copied to clipboard
val links: StateFlow<List<DeviceLink>>

Functions

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