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
BeaconListBackgroundDetection (Function)
In french: BeaconListeDétectionEnArrièrePlan
Returns the list of active Beacon detections started in the background with BeaconDetectBackground.
Example
// Browses the current detections
arrGroupBeacons is array of beaconGroup = BeaconListBackgroundDetection()
FOR EACH group OF arrGroupBeacons
	// Stops background detection of a group of Beacons 
	IF group.UUID = " 12345678-1234-1234-1234-123456789012 " _AND_ group.Major = 5 THEN
		BeaconStopBackgroundDetection(group)
	END
END
Syntax
<Result> = BeaconListBackgroundDetection()
<Result>: Array of beaconGroup
Array of beaconGroup variables corresponding to the list of groups of Beacons currently detected. If no detection is in progress, this array is empty.
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: 09/24/2024

Send a report | Local help