CameraPermission QML Type
访问用户的摄像头。更多
Import Statement: | import QtCore |
Since: | Qt 6.6 |
属性
- status : Qt::PermissionStatus
方法
- request()
详细说明
该类型表示QCameraPermission ,可用于检查用户摄像机的状态和请求访问用户摄像机。
有关单个属性和详细使用要求的文档,请参阅QCameraPermission 。
另请参阅 QML 应用程序权限、应用程序权限和QCameraPermission 。
属性文档
status : Qt::PermissionStatus |
该属性显示权限的当前状态。
方法文档
request() |
请求权限及其当前属性。
© 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.