System.Sensors.TCustomLocationSensor.LocationChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LocationChange: TLocationChangeType read FLocationChange write SetLocationChange;

C++

__property TLocationChangeType LocationChange = {read=FLocationChange, write=SetLocationChange, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Sensors.pas
System.Sensors.hpp
System.Sensors TCustomLocationSensor

Description

Magnitude of a location change that makes the location sensor trigger location data updates.

Note: You cannot change this value at run time. Any attempt raises an ESensorExceptionClass exception.

A location sensor can monitor location changes and trigger OnLocationChanged whenever there is a location change. You can use LocationChange to specify how significant the location change must be to trigger OnLocationChanged.

Valid values are:

If you choose TLocationChangeType.lctSmall, you may use the Distance property to specify how small a location change may be before it triggers the OnLocationChanged event.

Platform Support

This property is only supported on iOS and Windows.

See Also