QMicrophonePermission Class
모니터링이나 녹음을 위해 마이크에 접근합니다. 더 보기...
| 헤더: | #include <QPermissions> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
| 다음 버전부터: | Qt 6.5 |
상세 설명
필수 조건
런타임에 이 권한을 요청하려면, 빌드 시점에 다음과 같은 플랫폼별 사용 선언을 수행해야 합니다:
| 플랫폼 | 유형 | |
|---|---|---|
| Apple | 사용 설명 | NSMicrophoneUsageDescription |
| Android | uses-permission | android.permission.RECORD_AUDIO |
프로젝트에 이를 추가하는 방법은 개별 사용 선언 유형을 참조하십시오.
QPermission, QCoreApplication::requestPermission(), QCoreApplication::checkPermission() 및 애플리케이션 권한도 참조하십시오 .
© 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.