Geolocator.MovementThreshold | movementThreshold property

Applies to Windows and Windows Phone

Gets and sets the distance of movement, in meters, relative to the coordinate from the last PositionChanged event, that is required for the Geolocator to raise a PositionChanged event.

Syntax


public:
property double MovementThreshold { 
   double get();
   void set (double value);
}

Property value

Type: Number [JavaScript] | System.Double [.NET] | float64 [C++]

The distance of required movement, in meters, for the location provider to raise a PositionChanged event. The default value is 0.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

See also

Geolocator

 

 

Show:
© 2014 Microsoft