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

BluetoothStatusChangedEvent

Description#

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:

Interface overview#

[Exposed=Window]
interface BluetoothStatusChangedEvent : Event
{
readonly attribute DOMString address;
readonly attribute boolean status;
};

Properties#

  • BluetoothStatusChangedEvent.address read-only A string representing the address of the device for which the status has changed in the Bluetooth micro-network.

  • BluetoothStatusChangedEvent.status read-only A boolean representing the current status of the connection. It can be enabled (true) or disabled (false).