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