ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Bluetooth
  • Limitation
  • Required permissions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Allows you to find out whether a Bluetooth radio is visible.
Note: A Bluetooth radio corresponds to a Bluetooth transmitter.. This transmitter can correspond to a Bluetooth USB key or it can be an element included in a computer (laptop for example).
AndroidAndroid Widget Caution: Bluetooth functions are not available in the Android emulator.
Example
Reports and QueriesWindowsUser code (UMC)Ajax
bVisible is boolean
// Identifiant des radios Bluetooth listés dans un champ Table
nIdRadio is int 
nIdRadio = TABLE_Radios.COL_ID[TABLE_Radios]
// Teste si la radio sélectionnée est visible
bVisible = BTIsVisible(nIdRadio)
// Affichage 
IF bVisible = True THEN
	Trace("Visible")
ELSE 
	Trace("Non visible")
END
// Changement de la visibilité
BTChangeVisibility(nIdRadio, NOT bVisible)
Syntax
Reports and QueriesWindowsUser code (UMC)Ajax

Syntax that can be used in Windows Hide the details

<Result> = BTIsVisible(<Radio identifier>)
<Result>: Boolean
  • True if the Bluetooth radio is visible,
  • False otherwise.
<Radio identifier>: Integer
Identifier of Bluetooth radio to use. This identifier is returned by BTListRadio.
AndroidAndroid Widget

Syntax that can be used in Android Hide the details

<Result> = BTIsVisible()
<Result>: Boolean
  • True if the Bluetooth radio is visible,
  • False otherwise.
Remarks
Windows

Limitation

Only the Microsoft Bluetooth stack is supported by this function. To know the stack used, call BTStack.
For more details, see Which stacks to use?
AndroidAndroid Widget

Required permissions

This function changes the permissions required by the application.
Permission required: BLUETOOTH.
This permission allows the applications to connect to the Bluetooth services.
Component: wd300com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help