このページでは

LocationPermission QML Type

ユーザーの位置情報へのアクセス。もっと見る...

Import Statement: import QtCore
Since: Qt 6.6

プロパティ

  • status : Qt::PermissionStatus

方法

詳細説明

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

各プロパティや詳細な利用方法についてはQLocationPermission を参照。

QML Application PermissionsApplication PermissionsQLocationPermissionも参照

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

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.