Qt Sensors QML Types
QML Sensors Module API
QmlSensors is a module API that provides information about currently available sensors types, identifiers, and the default sensors.
import QtSensors // ... Component.onCompleted: { var types = QmlSensors.sensorTypes(); console.log(types.join(", ")); }
The documentation for the module API can be found in QmlSensors.
QML Sensor Types
These types represent specific types of sensors.
Note that most properties come from the abstract Sensor element.
QML Reading Types
The data from a sensor comes via a reading class.