Version: Smart Feature Phone 3.0

BluetoothGattServer.stopAdvertising

Description#

The method stops broadcasting advertisements.

Syntax#

var promise = instanceOfBluetoothGattServer.stopAdvertising();

Return value#

A Promise to indicate whether the operation is resolved or rejected. If the bluetooth adapter is currently disabled, the Promise would be rejected.