QMicrophonePermission Class

마이크에 액세스하여 사운드를 모니터링하거나 녹음하세요. 더 보기...

헤더: #include <QPermissions>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
이후: Qt 6.5

자세한 설명

요구 사항

런타임에 이 권한을 요청하려면 빌드 시점에 다음과 같은 플랫폼별 사용 선언을 해야 합니다:

플랫폼Type
Apple사용 설명NSMicrophoneUsageDescription
Androiduses-permissionandroid.permission.RECORD_AUDIO

프로젝트에 추가하는 방법은 개별 사용 선언 유형을 참조하세요.

QPermission, QCoreApplication::requestPermission(), QCoreApplication::checkPermission() 및 애플리케이션 권한도참조하세요 .

© 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.