このページでは

CameraPermission QML Type

ユーザーのカメラへのアクセス。詳細...

Import Statement: import QtCore
Since: Qt 6.6

プロパティ

  • status : Qt::PermissionStatus

方法

詳細な説明

この型はQCameraPermission を表しており、ユーザーのカメラの状態を確認したり、カメラへのアクセスを要求したりするために使用できます。

個々のプロパティおよび詳細な使用要件については、「QCameraPermission 」のドキュメントを参照してください。

「QML アプリケーションの権限」、「アプリケーションの権限」、および「QCameraPermission 」も参照してください 。

プロパティのドキュメント

status : Qt::PermissionStatus

このプロパティは、権限の現在の状態を保持します。

「QCoreApplication::checkPermission」も参照してください 。

メソッドのドキュメント

void request()

現在のプロパティを使用して権限をリクエストします。

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.