Access to the user's location. 更多...
import 语句: | import QtCore |
Since: | Qt 6.6 |
This type represents a QLocationPermission , and can be used to check the status of and request access to the user's location.
见 QLocationPermission for documentation of the individual properties and detailed usage requirements.
另请参阅 QML Application Permissions , 应用程序权限 ,和 QLocationPermission .
status : Qt::PermissionStatus |
This property holds the current status of the permission.
另请参阅 QCoreApplication::checkPermission .
request () |
Requests the permission with its current properties.