|qmake:||QT += sensors|
|QProximityReading(QObject *parent = DECLARE_READING(QProximityReading))|
|virtual void||copyValuesFrom(QSensorReading *other) override|
The QProximityReading class represents one reading from the proximity sensor.
The proximity sensor can only indicate if an object is close or not.
The distance at which an object is considered close is device-specific. This distance may be available in the QSensor::outputRanges property.
This property holds a value indicating if something is close.
Set to true if something is close. Set to false is nothing is close.
See also QProximityReading_Units.
Default constructs an instance of QProximityReading.
Destroys the instance of QProximityReading. The destructor is virtual.
Sets the close value to close.
See also close().
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: