DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:is_bluetooth_on

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:is_bluetooth_on [2015/03/04 18:02] (current)
octazid created
Line 1: Line 1:
 +=====IsBluetoothOn=====
  
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +
 +The **IsBluetoothOn** method returns true if Bluetooth is enabled and false if not. 
 +
 +<​code>​ app.IsBluetoothOn();</​code>​
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +
 +function OnStart()
 +{
 +  btOn = app.IsBluetoothOn();​
 +  app.ShowPopup( btOn );
 +
 +
 +</​code>​
built_in/is_bluetooth_on.txt ยท Last modified: 2015/03/04 18:02 by octazid