QCameraPermission Class

Access the camera for taking pictures or videos. More...

Header: #include <QPermissions>

Detailed Description

Requirements

To request this permission at runtime, the following platform specific usage declarations have to be made at build time:

PlatformType
AppleUsage descriptionNSCameraUsageDescription
Androiduses-permissionandroid.permission.CAMERA

Please see the individual usage declaration types for how to add them to your project.

\inmoduleQtCore \ingroup permissions \since 6.5

See also QPermission, QCoreApplication::requestPermission(), QCoreApplication::checkPermission(), and Application Permissions.