PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// 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.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment