isEnabled

abstract fun isEnabled(sensor: SensorType): Boolean

Returns the SensorType enable state

Return

true if the sensor is enabled, otherwise false

Parameters

sensor

the required sensor