B2G/Bluetooth/WebBluetooth-v2/BluetoothGattCharacteristicEvent: Difference between revisions
< B2G | Bluetooth | WebBluetooth-v2
Jump to navigation
Jump to search
(Created page with "== Overview == '''BluetoothLeDeviceEvent''' is carried as the parameter of remote LE device found event handler ([[B2G/Bluetooth/WebBluetooth-v2/BluetoothDiscoveryHandle#ondev...") |
(→device) |
||
Line 12: | Line 12: | ||
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothCharacteristicEvent#characteristic|BluetoothCharacteristicEvent.characteristic]] | * [[B2G/Bluetooth/WebBluetooth-v2/BluetoothCharacteristicEvent#characteristic|BluetoothCharacteristicEvent.characteristic]] | ||
=== | === characteristic === | ||
; Description | ; Description | ||
: The | : The characteristic that has been updated as a result of a remote notification event. | ||
; Value type | ; Value type | ||
: [[B2G/Bluetooth/WebBluetooth-v2/BluetoothCharacteristic#BluetoothCharacteristic|BluetoothCharacteristic]] | : [[B2G/Bluetooth/WebBluetooth-v2/BluetoothCharacteristic#BluetoothCharacteristic|BluetoothCharacteristic]] |
Revision as of 08:30, 22 August 2014
Overview
BluetoothLeDeviceEvent is carried as the parameter of remote LE device found event handler (discoveryHandle.ondevicefound). Applications can get the BluetoothDevice object, RSSI value, and advertisement record of the found remote LE device.
Interface
[CheckPermissions="bluetooth"] interface BluetoothCharacteristicEvent : Event { readonly attribute BluetoothDevice? device; };
Properties
characteristic
- Description
- The characteristic that has been updated as a result of a remote notification event.
- Value type
- BluetoothCharacteristic