DeviceHardwareRepository

Functions

Link copied to clipboard
abstract suspend fun getDeviceHardwareByModel(hwModel: Int, target: String? = null, forceRefresh: Boolean = false): Result<DeviceHardware?>

Retrieves device hardware information by its model ID and optional target string.

Link copied to clipboard
abstract fun observeDeviceHardware(hwModel: Int, target: String? = null): Flow<DeviceHardware?>

Observes device hardware information as a non-blocking Flow.