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 .