Visual Basic (Declaration) | |
---|---|
Public Property GeoPositionWatcher As IGeoPositionWatcher(Of GeoCoordinate) |
C# | |
---|---|
public IGeoPositionWatcher<GeoCoordinate> GeoPositionWatcher {get; set;} |
By default the position watcher used is Windows Phone's built-in System.Device.Location.GeoCoordinateWatcher. Overriding this makes it possible to assign a simulator instead.
Target Platforms:Windows Phone 7