Version: Smart Feature Phone 2.5



The BluetoothStatusChangedEvent API provides access to information regarding any change to the status of a Bluetooth device.

A status change occurs when one of the following events is triggered:

  • a2dpstatuschange : It occurs when an A2DP connection status changes. See BluetoothAdapter.ona2dpstatuschanged for more information.
  • hfpstatuschange : It occurs when an HFP connection status changes. See BluetoothAdapter.onhfpstatuschanged for more information.
  • scostatuschange : It occurs when an SCO connection status changes. See BluetoothAdapter.onscostatuschanged for more information.

Interface overview#

interface BluetoothStatusChangedEvent : Event
readonly attribute DOMString address;
readonly attribute boolean status;