id

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The BluetoothDevice.id read-only property returns a DOMString that uniquely identifies a device.

Syntax

var id = instanceOfBluetoothDevice.id

Returns

A DOMString.

Specifications

Specification Status Comment
Web Bluetooth
The definition of 'id' in that specification.
Draft Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support

521

452

? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No521 ? ? ? ? ?

1. Chrome origin trials only.

2. Behind a flag. Chrome OS only.

Document Tags and Contributors

Contributors to this page: ExE-Boss, fscholz, mrenty, jpmedley
Last updated by: ExE-Boss,