Confirmed users
891
edits
Line 51: | Line 51: | ||
; Description | ; Description | ||
: The <tt>getAdapters</tt> method | : The <tt>getAdapters</tt> method retrieves all adapters on this device. | ||
; Return | ; Return | ||
Line 61: | Line 61: | ||
; // TODO | ; // TODO | ||
* What would happen if 0 is unplugged and another | * What would happen if adapter 0 is unplugged and another new adapter is plugged in? | ||
=== getDefaultAdapter() === | === getDefaultAdapter() === | ||
; Description | ; Description | ||
: The <tt>getDefaultAdapter</tt> method | : The <tt>getDefaultAdapter</tt> method retrieves the default adapter used to connect this device to third-party bluetooth devices. | ||
; Return | ; Return | ||
Line 76: | Line 76: | ||
; // TODO | ; // TODO | ||
* How do we know | * How do we know default adapter has been changed? | ||
== See also == | == See also == | ||
* [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter BluetoothAdapter] | * [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter BluetoothAdapter] |