Skip to content
Select language:English

MDK 3.7.3

abstract class Sensor(val sensorName: String, message: String) : MdkException

Exception thrown when a sensor error occurs.

Inheritors

Constructors

constructor(sensorName: String, message: String)

Types

class FetchFailed(sensorName: String, message: String) : MdkException.Sensor

Exception thrown when a sensor reading fails to complete successfully.

class InvalidData(val timestamp: Int, sensorName: String, message: String) : MdkException.Sensor

Exception raised when sensor data is found to be incorrect or inconsistent.

Exception thrown when a permission to access a required sensor was not granted.

Exception thrown when a required sensor is unavailable or unauthorized.

Properties

The name of the sensor that caused the error.

Inherited properties

expect open val cause: Throwable?
expect open val message: String?