System.Sensors.TCustomLocationSensor.Regions
Delphi
property Regions: TRegionList read FRegions;
C++
__property TRegionList* Regions = {read=FRegions};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Sensors.pas System.Sensors.hpp |
System.Sensors | TCustomLocationSensor |
Description
List of regions monitored by the location sensor.
A region is a geographical area defined by a geographical point and a radius around that point. A location sensor can monitor a set of regions, and notify your application when the device running your application enters or leaves any of these regions.
The Regions property contains the list of regions that the location sensor is currently monitoring.
Platform Support
Regions are only supported on iOS.
See Also
- System.Sensors.TCustomLocationSensor.OnEnterRegion
- System.Sensors.TCustomLocationSensor.OnExitRegion