Version: Smart Feature Phone 2.5Version: Smart Feature Phone 2.6

BluetoothManager.onattributechanged

Description#

Specifies an event listener to receive attributechanged events. Those events occur when the property BluetoothManager.defaultAdapter has changed.

Syntax#

navigator.b2g.bluetooth.onattributechanged = funcRef

Where funcRef is a function to be called when the attributechanged event occurs. That function either gets a BluetoothAttributeEvent object as its first parameter.