GeoCoordinateWatcher Class
July 26, 2012
A provider class exposing the Windows Phone location service.
Namespace:
System.Device.Location
Assembly: System.Device (in System.Device.dll)
XMLNS for XAML: Not mapped to an xmlns.
The GeoCoordinateWatcher type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | GeoCoordinateWatcher() | Instantiates a new instance of the GeoCoordinateWatcher class with the DesiredAccuracy value of Default. |
![]() | GeoCoordinateWatcher(GeoPositionAccuracy) | Instantiates a new instance of the GeoCoordinateWatcher class with the provided DesiredAccuracy value. |
| Name | Description | |
|---|---|---|
![]() | DesiredAccuracy | The desired accuracy for data returned from the location service. |
![]() | MovementThreshold | The minimum distance that must be travelled between successive PositionChanged events. |
![]() | Permission | The application’s level of access to the location service. |
![]() | Position | The most recent position obtained from the location service. |
![]() | Status | The status of the location service. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases managed and unmanaged resources used by the GeoCoordinateWatcher and stops the acquisition of data from the location service. |
![]() | Dispose(Boolean) | Releases unmanaged resources and optionally releases the managed resources used by the GeoCoordinateWatcher and stops the acquisition of data from the location service. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Releases unmanaged resources and performs other cleanup operations before the GeoCoordinateWatcher is reclaimed by garbage collection. (Overrides Object.Finalize().) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | OnPositionChanged | Raises the PositionChanged event. |
![]() | OnPositionStatusChanged | Raises the PositionChanged event. |
![]() | OnPropertyChanged | Raises the PropertyChanged event for the GeoCoordinateWatcher class. |
![]() | Start() | Starts the acquisition of data from the location service. |
![]() | Start(Boolean) | Starts the acquisition of data from the location service. |
![]() | Stop | Stops the acquisition of data from the location service. |
![]() | ToString | (Inherited from Object.) |
![]() | TryStart | Attempts to start the acquisition of data from the location service. If the provided timeout interval is exceeded before the location service responds, the request for location is stopped and the method returns false. |
| Name | Description | |
|---|---|---|
![]() | PositionChanged | Occurs when the location service detects a change in position. |
![]() | StatusChanged | Occurs when the status of the location service changes. |
| Name | Description | |
|---|---|---|
![]() ![]() | INotifyPropertyChanged.PropertyChanged | Occurs when a GeoCoordinateWatcher property changes. |

