API:System.Beacon.Components.TBeacon.OnCalcDistance
Delphi
property OnCalcDistance: TBeaconCalcDistanceEvent read FOnCalcDistance write FOnCalcDistance;
C++
__property OnCalcDistance;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Beacon.Components.pas System.Beacon.Components.hpp |
System.Beacon.Components | TBeacon |
Description
The OnCalcDistance event is fired inmediatelly before the Distance is calculated.
System.Beacon.Components.TBeacon.OnCalcDistance inherits from System.Beacon.Components.TCustomBeacon.OnCalcDistance. All content below this line refers to System.Beacon.Components.TCustomBeacon.OnCalcDistance.
The OnCalcDistance event is fired inmediatelly before the Distance is calculated.
You can use OnCalcDistance to provide your own algorithm to calculate the Distance.