Sensor.isAvailable

Check if a sensor is available on the underlying platform.

class Sensor
static
bool
isAvailable

Return Value

Type: bool

true if the sensor is available, false otherwise.

Meta