The SensorGlobal element provides the module API. More...
Import Statement: | import QtSensors 5.11 |
Since: | QtSensors 5.0 |
The SensorGlobal element provides the module API.
This element cannot be directly created. It can only be accessed via a namespace import.
import QtSensors 5.11 import QtSensors 5.11 as Sensors ... Component.onCompleted: { var types = Sensors.QmlSensors.sensorTypes(); console.log(types.join(", ")); }
Returns the default sensor identifier that has been registered for type.
Please see QSensor::defaultSensorForType() for information.
Returns a list of the sensor types that have been registered.
Please see QSensor::sensorTypes() for information.
Returns a list of the sensor identifiers that have been registered for type.
Please see QSensor::sensorsForType() for information.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: