B2G/Bluetooth/WebBluetooth-v2/BluetoothGattCharacteristicEvent

From MozillaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview

BluetoothGattCharacteristicEvent is carried as the parameter of event handler gatt.oncharacteristicchanged. Applications can get the updated BluetoothGattCharacteristic object.

Interface

[CheckPermissions="bluetooth"]
interface BluetoothGattCharacteristicEvent : Event
{
  readonly attribute BluetoothGattCharacteristic characteristic;
};

Properties

characteristic

Description
The characteristic that has been updated as a result of a remote notification event.
Value type
BluetoothGattCharacteristic