Edit

Share via


ILocationPermissions interface (sensorsapi.h)

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

Note  ILocationPermissions is available in Windows 8.
 
For more information on ___location settings in Windows 8 see Location settings.

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