Qt Sensors QML Types

QML Module API

If the module is imported into a namespace, some additional methods become available.


  import QtSensors 5.11
  //  ...
      Component.onCompleted: {
          var types = QmlSensors.sensorTypes();
          console.log(types.join(", "));
      }

The documentation for the module API can be found in SensorGlobal.

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.

All QML Types