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.