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

→‎addIncludedService(BluetoothGattService service): Refine the description that the one would be rejected is the promise instead of the function itself.
(→‎addIncludedService(BluetoothGattService service): Refine the description to note that the included service to be added should be an existing service.)
(→‎addIncludedService(BluetoothGattService service): Refine the description that the one would be rejected is the promise instead of the function itself.)
 
Line 116: Line 116:


; Description
; Description
: The method adds an included service to this service. The included service to be added should be an existing service of the same GATT server, otherwise this function will be rejected.
: The method adds an included service to this service. The included service to be added should be an existing service of the same GATT server, otherwise the promise will be rejected.


; Parameter
; Parameter
39

edits