B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice: Difference between revisions

Jump to navigation Jump to search
Line 148: Line 148:


; Description
; Description
: The method fetches the up-to-date UUID list of each bluetooth service that the device provides. This method is marked with [Pure] since it modifies [Pure] property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#uuids|uuids]]. If the fetchUuids operation succeeds, an [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#onattributechanged|onattributechanged]] would be triggered before the Promise is resolved to indicate [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#uuids|device.uuids]] has changed.  
: The method fetches the up-to-date UUID list of each bluetooth service that the device provides. This method is marked with [Pure] since it modifies [Pure] property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#uuids|uuids]]. If the fetchUuids operation succeeds, an [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#onattributechanged|onattributechanged]] would be triggered right before the Promise is resolved to indicate [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#uuids|device.uuids]] has changed.  


; Return
; Return
Confirmed users
891

edits

Navigation menu