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

BluetoothAdapter.onattributechanged

Description#

Specifies an event listener to receive attributechanged events. Those events occur when the properties of BluetoothAdapter have changed. The names of changed properties can be found in BluetoothAttributeEvent.

Syntax#

instanceOfBluetoothAdapter.onattributechanged = funcRef

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