IGeoPositionWatcher<T> Interface
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 IGeoPositionWatcher
public interface IGeoPositionWatcher<T>
type IGeoPositionWatcher<'T> = interface
Public Interface IGeoPositionWatcher(Of T)
- T
The type of the object that contains the location data.
- Derived
The GeoCoordinateWatcher class implements IGeoPositionWatcher<T>, using GeoCoordinate as the type parameter.
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. |
Try |
Start acquiring location data, specifying an initialization timeout. This method returns synchronously. |
Position |
Occurs when the Position property has changed. |
Status |
Occurs when the Status property changes. |
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: