B2G/Bluetooth/WebBluetooth-v2/BluetoothGattCharacteristicEvent: Difference between revisions
< B2G | Bluetooth | WebBluetooth-v2
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
''' | '''BluetoothGattCharacteristicEvent''' is carried as the parameter of event handler [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGatt#oncharacteristicchanged|gatt.oncharacteristicchanged]]. Applications can get the updated [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattCharacteristic#BluetoothGattCharacteristic|BluetoothGattCharacteristic]] object. | ||
== Interface == | == Interface == |
Latest revision as of 09:03, 22 August 2014
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