In questa pagina

CameraPermission QML Type

Accesso alla fotocamera dell'utente. Altro...

Import Statement: import QtCore
Since: Qt 6.6

Proprietà

  • status : Qt::PermissionStatus

Metodi

Descrizione dettagliata

Questo tipo rappresenta un oggetto QCameraPermission e può essere utilizzato per verificare lo stato della fotocamera dell'utente e richiederne l'accesso.

Per la documentazione relativa alle singole proprietà e ai requisiti d'uso dettagliati, consultare la voce " QCameraPermission ".

Vedi anche Autorizzazioni delle applicazioni QML, Autorizzazioni delle applicazioni e QCameraPermission.

Documentazione sulle proprietà

status : Qt::PermissionStatus

Questa proprietà contiene lo stato attuale dell'autorizzazione.

Vedi anche QCoreApplication::checkPermission.

Documentazione sui metodi

void request()

Richiede l'autorizzazione con le proprietà correnti.

Vedi anche QCoreApplication::requestPermission().

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