IGeoPositionWatcher<T> Interface  
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.
Interface that can be implemented for providing accessing location data and receiving location updates.
generic <typename T>
public interface class IGeoPositionWatcherpublic interface IGeoPositionWatcher<T>type IGeoPositionWatcher<'T> = interfacePublic Interface IGeoPositionWatcher(Of T)Type Parameters
- T
The type of the object that contains the location data.
- Derived
Remarks
The GeoCoordinateWatcher class implements IGeoPositionWatcher<T>, using GeoCoordinate as the type parameter.
Properties
| Position | Gets the location data. | 
| Status | Gets the status of location data. | 
Methods
| Start() | Initiate the acquisition of location data. | 
| Start(Boolean) | Start acquiring location data, specifying whether or not to suppress prompting for permissions. This method returns synchronously. | 
| Stop() | Stop acquiring location data. | 
| TryStart(Boolean, TimeSpan) | Start acquiring location data, specifying an initialization timeout. This method returns synchronously. | 
Events
| PositionChanged | Occurs when the Position property has changed. | 
| StatusChanged | Occurs when the Status property changes. |