Windows.Devices.Geolocation.Provider Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
There are some scenarios in which the physical location of the devices isn't sufficient—either because it doesn't represent the user's real location, or the current positioning capabilities of the device aren't good enough to satisfy a particular scenario. In those cases, there's a need for a remote location source to override the current device location, and not only be a last resolution. The types in this namespace provide those facilities.
Note
To call location-override APIs, an app must declare the runFullTrust
restricted capability.
Important
The Windows.Devices.Geolocation.Provider APIs are part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.
Classes
GeolocationProvider |
Provides the ability to override the user's location from a remote source. Note To call location-override APIs, an app must declare the Important The Windows.Devices.Geolocation.Provider APIs are part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form. |
Enums
LocationOverrideStatus |
Defines constants that specify the status of a call to the location override API. Note To call location-override APIs, an app must declare the Important The Windows.Devices.Geolocation.Provider APIs are part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form. |