StatusChanged event
[The Location API object model is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, to access location from a website, use the W3C Geolocation API. To access location from a desktop application, use the Windows.Devices.Geolocation API.]
Occurs when the operational status of a report changes.
Syntax
.StatusChanged(
status
)
Parameters
-
status
-
The new status.
Status Meaning - 0
Report not supported. - 1
Error. - 2
Access denied. - 3
Initializing. - 4
Running.
Return value
This event does not return a value.
Remarks
You should implement separate status change report handlers for civic address reports and latitude/longitude reports.
Examples
For an example of how to use this event, see Listening for LatLong Report Events.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
None supported |