ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Beacon functions
  • Necessary version
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
BeaconStopBackgroundDetection (Function)
In french: BeaconArrêteDétectionEnArrièrePlan
Stops one or more Beacon detections in the background. These detections have started by BeaconDetectBackground.
Example
// Delete all the detections in background
BeaconStopBackgroundDetection()
Syntax

Deleting all the detections in background Hide the details

<Result> = BeaconStopBackgroundDetection()
<Result>: Boolean
  • True if all the detections have been stopped,
  • False otherwise. To get more details on the error, use ErrorInfo.

Deleting a detection in background Hide the details

<Result> = BeaconStopBackgroundDetection(<Group of Beacons>)
<Result>: Boolean
  • True if the detection was stopped,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Group of Beacons>: beaconGroup variable
Name of the beaconGroup variable that corresponds to the group of Beacons to no longer be detected.

Deleting several detections in background Hide the details

<Result> = BeaconStopBackgroundDetection(<Array of groups of Beacons>)
<Result>: Boolean
  • True if the detection was stopped,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Array of groups of Beacons>: Array of beaconGroup variables
Name of the array of beaconGroup variables corresponding to the groups of Beacons to no longer be detected.
Remarks

Necessary version

AndroidAndroid Widget Beacon management 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 management functions are only available on iOS11 or later.
Component: wd290android.aar
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment

Last update: 09/08/2023

Send a report | Local help