Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Use the UWP Sensor API instead.
The COM-based Sensor API is deprecated and should not be used in new applications. No additional features or enhancements are planned, and support will be limited.
Provides the status of the system setting that allows users to change location settings.
Inheritance
The ILocationPermissions interface inherits from the IUnknown interface. ILocationPermissions also has these types of members:
Methods
The ILocationPermissions interface has these methods.
| ILocationPermissions::CheckLocationCapability Gets the location capability of the Windows Store app of the given thread. |
| ILocationPermissions::GetGlobalLocationPermission Gets the status of the system setting that allows users to change location settings. |
Remarks
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | sensorsapi.h |