LocationOverrideStatus Enum

Definition

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 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.

public enum class LocationOverrideStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
enum class LocationOverrideStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
public enum LocationOverrideStatus
var value = Windows.Devices.Geolocation.Provider.LocationOverrideStatus.success
Public Enum LocationOverrideStatus
Inheritance
LocationOverrideStatus
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Fields

AccessDenied 1

Specifies that the override API failed due to access denied.

AlreadyStarted 2

Specifies that an override instance is already acquired by other application.

Other 3

Specifies an unknown status.

Success 0

Specifies that the override API succeeded.

Applies to