Back to Content

BluetoothRemoteGATTCharacteristic: startNotifications() method

files/en-us/web/api/bluetoothremotegattcharacteristic/startnotifications/index.md

latest512 B
Original Source

{{APIRef("Bluetooth API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The BluetoothRemoteGATTCharacteristic.startNotifications() method returns a {{jsxref("Promise")}} to the BluetoothRemoteGATTCharacteristic instance when there is an active notification on it.

Syntax

js-nolint
startNotifications()

Parameters

None.

Return value

A {{jsxref("Promise")}} to the BluetoothRemoteGATTCharacteristic instance.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}