MovementThreshold Property
Collapse the table of content
Expand the table of content

GeoCoordinateWatcher.MovementThreshold Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The minimum distance that must be travelled between successive PositionChanged events.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)
XMLNS for XAML: Not mapped to an xmlns.

public double MovementThreshold { get; set; }
<object MovementThreshold="double" .../>

Property Value

Type: System.Double
The distance, in meters, that must be travelled between successive PositionChanged events. The default value for this property is 0 meters.

This method may throw one of the following exceptions.

ArgumentOutOfRangeException

The argument must not be negative.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft