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

Jump to navigation Jump to search
Line 146: Line 146:


; Description
; Description
: The gatt property is the object used to conduct GATT client operations on this remote LE device.
: The gatt property is object used to conduct GATT client operations on this remote LE device. Applications have to call [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#connectGatt.28boolean_aAutoConnect.29|connectGatt()]] to update this property. This property must be null pointer for devices of type classic or unknown.


; Value type
; Value type
Line 152: Line 152:


; Default value
; Default value
: Null pointer if the remote device is of type classic or unknown (i.e., property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#type|type]] is BluetoothDeviceType.classic or BluetoothDeviceType.unknown).
: Null pointer


; Sample
; Sample
Confirmed users
891

edits

Navigation menu