System.Sensors.TCustomLocationSensor.OnEnterRegion
Delphi
property OnEnterRegion: TRegionProximityEvent read FOnEnterRegion write FOnEnterRegion;
C++
__property TRegionProximityEvent OnEnterRegion = {read=FOnEnterRegion, write=FOnEnterRegion};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Sensors.pas System.Sensors.hpp |
System.Sensors | TCustomLocationSensor |
Description
Occurs when the device running your application enters a region from the list of monitored regions.
This event provides the following arguments to its event handler:
Sender
is the current instance of the location sensor.Region
is the entered region.
Platform Support
Regions are only supported on iOS.