Version: Smart Feature Phone 2.5

BluetoothManager.onadapteradded

Description#

Specifies an event listener to receive adapteradded events. Those events occur when a Bluetooth adapter is enabled on the device. Each time this event occurs, the BluetoothManager.getDefaultAdapter() method will be able to access the last enabled adapter.

Syntax#

navigator.mozBluetooth.onadapteradded = funcRef

Where funcRef is a function to be called when the adapteradded event occurs.