GeolocationProvider.IsOverriddenChanged Event
Definition
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.
An event that's raised when the value of the GeolocationProvider.IsOverridden property changes. You can register to handle this event, and access the current value of GeolocationProvider.IsOverridden in response.
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.
// Register
event_token IsOverriddenChanged(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
void IsOverriddenChanged(event_token const* cookie) const;
// Revoke with event_revoker
GeolocationProvider::IsOverriddenChanged_revoker IsOverriddenChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> IsOverriddenChanged;
function onIsOverriddenChanged(eventArgs) { /* Your code */ }
geolocationProvider.addEventListener("isoverriddenchanged", onIsOverriddenChanged);
geolocationProvider.removeEventListener("isoverriddenchanged", onIsOverriddenChanged);
- or -
geolocationProvider.onisoverriddenchanged = onIsOverriddenChanged;
Public Custom Event IsOverriddenChanged As EventHandler(Of Object)
Event Type
Windows requirements
App capabilities |
runFullTrust
|
Remarks
See Remarks in GeolocationProvider.