AmbientLightReading QML Type
AmbientLightReading要素は、最もAmbientLightSensor 。詳細...
Import Statement: | import QtSensors |
Since: | QtSensors 5.0 |
Inherits: |
プロパティ
- lightLevel : LightLevel
詳細説明
AmbientLightReading要素は、最もAmbientLightSensor 。
この要素はQAmbientLightReading クラスをラップしています。詳細については、QAmbientLightReading のドキュメントを参照してください。
この要素を直接作成することはできません。
プロパティの説明
lightLevel : LightLevel |
このプロパティは、環境光レベルを保持します。
このプロパティに関する情報はQAmbientLightReading::lightLevel を参照してください。
LightLevel定数は、AmbientLightReading クラスを通して公開されていることに注意してください。
AmbientLightSensor { onReadingChanged: { if (reading.lightLevel == AmbientLightReading.Dark) // do something } }
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.