ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Bluetooth / WLanguage procedure
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 BTStatus
Procedure ("Callback") called by BTStatus when the Bluetooth activation status changes on the device. This procedure can be a local, global or internal procedure.
Example
BTStatus(ChangeBT)
 
INTERNAL PROCEDURE ChangeBT(NewStatus, FormerStatus)
IF NewStatus <> FormerStatus THEN ToastDisplay("Bluetooth connection changed")
END
Syntax
BTStatus_Callback(<New status> , <Former status>)
<New status>: Integer constant
New Bluetooth activation status on the device. This status corresponds to one of the following constants:
btActivationInProgressThe Bluetooth is being enabled on the device.
btDeactivationInProgressThe Bluetooth is being disabled on the device.
btDisabledThe Bluetooth is disabled on the device.
btEnabledThe Bluetooth is enabled on the device.
<Former status>: Integer constant
Bluetooth activation status on the device before the change. This status corresponds to one of the following constants:
btActivationInProgressThe Bluetooth is being enabled on the device.
btDeactivationInProgressThe Bluetooth is being disabled on the device.
btDisabledThe Bluetooth is disabled on the device.
btEnabledThe Bluetooth is enabled on the device.
Minimum version required
  • Version 16
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help