CameraPermission QML Type

Access to the user's camera. More...

Import Statement: import QtCore
Since: Qt 6.6

Properties

  • status : Qt::PermissionStatus

Methods

Detailed Description

This type represents a QCameraPermission, and can be used to check the status of and request access to the user's camera.

See QCameraPermission for documentation of the individual properties and detailed usage requirements.

See also QML Application Permissions, Application Permissions, and QCameraPermission.

Property Documentation

status : Qt::PermissionStatus

This property holds the current status of the permission.

See also QCoreApplication::checkPermission.


Method Documentation

request()

Requests the permission with its current properties.

See also QCoreApplication::requestPermission.


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