QProximityReading

The QProximityReading class represents one reading from the proximity sensor. More

Inheritance diagram of PySide2.QtSensors.QProximityReading

Synopsis

Functions

Detailed Description

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 outputRanges property.

class QProximityReading(parent)
Parameters

parentQObject

PySide2.QtSensors.QProximityReading.close()
Return type

bool

See also

setClose()

PySide2.QtSensors.QProximityReading.setClose(close)
Parameters

closebool

Sets the close value to close .

See also

close()