Version: Smart Feature Phone 3.0
BluetoothGattServer.removeService
Description#
The method removes a provided service. If the service doesn't exist in the GATT server, the promise will be rejected.
Syntax#
Parameters#
serviceThe BluetoothGattService object to remove.
Return value#
A Promise to indicate whether the operation is resolved or rejected. If the Promise is resolved, property services is also updated without the removed service.