内容表

上一话题

QHumiditySensor

下一话题

QIRProximityReading

QIRProximityFilter

QIRProximityFilter class is a convenience wrapper around QSensorFilter . 更多

Inheritance diagram of PySide2.QtSensors.QIRProximityFilter

详细描述

The only difference is that the filter() method features a pointer to QIRProximityReading 而不是 QSensorReading .

class QIRProximityFilter
PySide2.QtSensors.QIRProximityFilter. filter ( reading )
参数

reading QIRProximityReading

返回类型

bool

Called when reading changes. Returns false to prevent the reading from propagating.

另请参阅

filter()