System.Sensors.TCustomLocationSensor.OnExitRegion
Delphi
property OnExitRegion: TRegionProximityEvent read FOnExitRegion write FOnExitRegion;
C++
__property TRegionProximityEvent OnExitRegion = {read=FOnExitRegion, write=FOnExitRegion};
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 leaves 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 region left by the device.
Platform Support
Regions are only supported on iOS.