PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Limitation
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
Allows you to find out whether a Bluetooth radio is visible.
Remark: 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).
Example
WindowsUser code (UMC)
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
WindowsUser code (UMC)

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.
Remarks
Windows

Limitation

Only the Microsoft Bluetooth stack is supported by this function. To find out the stack used, call BTStack.
For more details, see Which stacks to use?
Component: wd270com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment