CameraPermission QML Type

Accès à l'appareil photo de l'utilisateur. Plus d'informations...

Import Statement: import QtCore
Since: Qt 6.6

Propriétés

  • status : Qt::PermissionStatus

Méthodes

Description détaillée

Ce type représente un QCameraPermission, et peut être utilisé pour vérifier l'état de la caméra de l'utilisateur et demander l'accès à celle-ci.

Voir QCameraPermission pour la documentation des propriétés individuelles et les conditions d'utilisation détaillées.

Voir également QML Application Permissions, Application Permissions et QCameraPermission.

Propriété Documentation

status : Qt::PermissionStatus

Cette propriété indique l'état actuel de l'autorisation.

Voir également QCoreApplication::checkPermission.


Documentation de la méthode

request()

Demande l'autorisation avec ses propriétés actuelles.

Voir également QCoreApplication::requestPermission.


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