Version: Smart Feature Phone 3.0

BluetoothManager.getAdapters

Description#

The method an array representing a snapshot of current adapters list on the device. Each getAdapters() call returns a new array instead of a reference to current adapters list, in order to prevent applications from modifying the shared adapters list.

Syntax#

var adapters = navigator.b2g.bluetooth.getAdapters();

Return value#

An array of BluetoothAdapter