files/en-us/web/api/bluetoothdevice/index.md
{{APIRef("Bluetooth API")}}{{SeeCompatTable}}{{SecureContext_Header}}
The BluetoothDevice interface of the Web Bluetooth API represents a Bluetooth device inside a particular script execution environment.
{{InheritanceDiagram}}
undefined or is rejected with
an error if advertisements can't be shown for any reason.Listen to these events using {{domxref("EventTarget.addEventListener", "addEventListener()")}} or by assigning an event listener to the oneventname property of this interface.
{{Specifications}}
{{Compat}}