ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Beacon functions
  • Necessary version
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Stops the Beacon detection started by BeaconDetectPrecise.
Example
// Starts detecting a group of Beacons in the background
BeaconDetectBackground(arrGroupBeacons, ProcDetection)

	INTERNAL PROCEDURE ProcDetection(group is beaconGroup, nType is int)
	// Enter the beacons transmission range
		IF nType = bdapEnter
			// Find the nearby tags
			BeaconDetectPrecise(group, procPreciseDetection)
			// Exit beacon transmission range
		ELSE
			// Stop the precise detection
			BeaconStopPreciseDetection()
		END
	END
Syntax
<Result> = BeaconStopPreciseDetection()
<Result>: Boolean
  • True if the detection was stopped,
  • False otherwise. To get more details on the error, use ErrorInfo.
Remarks

Necessary version

AndroidAndroid Widget Beacon functions are only available on Android 4.3 or later (API level 18).
A fatal error occurs if the function is used with an earlier system version.
To determine the version of Android the application is running on, use SysAndroidVersion.
iPhone/iPadIOS Widget Beacon functions are only available on iOS11 or later.
Component: wd300android.aar
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment

Last update: 04/01/2025

Send a report | Local help