CameraPermission QML Type

Access to the user's camera. 更多...

import 语句: import QtCore
Since: Qt 6.6

特性

方法

详细描述

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

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

另请参阅 QML Application Permissions , 应用程序权限 ,和 QCameraPermission .

特性文档编制

status : Qt::PermissionStatus

This property holds the current status of the permission.

另请参阅 QCoreApplication::checkPermission .

方法文档编制

request ()

Requests the permission with its current properties.

另请参阅 QCoreApplication::requestPermission .