Table of Contents

IsBluetoothEnabled

The IsBluetoothEnabled function checks if Bluetooth is enabled on the phone/tablet.

enabled = nxt.IsBluetoothEnabled();

Example

function OnStart()
{
  nxt = app.CreateNxt();
  enabled = nxt.IsBluetoothEnabled();
  app.ShowPopup( enabled );
}