CameraPermission QML Type

ユーザーのカメラにアクセスします。もっと見る...

Import Statement: import QtCore
Since: Qt 6.6

プロパティ

  • status : Qt::PermissionStatus

方法

詳細説明

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

各プロパティや詳細な使用条件についてはQCameraPermission を参照。

QML Application PermissionsApplication PermissionsQCameraPermissionも参照

プロパティの説明

status : Qt::PermissionStatus

このプロパティはパーミッションの現在の状態を保持します。

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


メソッドのドキュメント

request()

現在のプロパティとともにパーミッションを要求します。

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.