|
|
|
|
WLanguage procedure called by GPSDetectPosition WLanguage procedure ("callback") called by GPSDetectPosition when the device enters or leaves the region defined by the specified parameters.. This procedure can be a local, global or internal procedure. // Enable the notification request GPSDetectPosition(DetectionProc, 1.145258, 30.968745)
// Procedure called during the notification PROCÉDURE DetectionProc(Enter is boolean) IF Enter = True THEN Info("You have reached your destination.") END
Syntax
<Result> = GPSDetectPosition_Callback(<Entry> , <Detection identifier>)
<Result>: Boolean <Entry>: Boolean - True if the device enters the region defined by the parameters specified by GPSDetectPosition,
- False if it leaves the specified region.
<Detection identifier>: Integer Value returned by GPSDetectPosition. When the same procedure is used to detect multiple positions, this identifier differentiates positions from one another.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|