Search completed in 1.30 seconds.
2 results for "watchadvertisements":
BluetoothDevice - Web APIs
Web › API › BluetoothDevice
BluetoothD...
... BluetoothDevice.name Read only A DOMStr...
... DOMString that provices a human-readable name for the device. BluetoothDevice.gatt Read only A reference to the device's BluetoothRemoteGATTServer. BluetoothDevice.uuids Read only Lists the UUID's of GATT services provided by the device, that the current origin is allowed to access. BluetoothDevice.watchingAdvertisements Read only If advertisments were activated using BluetoothDevice.watchAdvertisements(). Non-standard Chrome OS properties These properties were only implemented on Google's Chrome OS 45 and removed from Chrome 52. BluetoothDevice.adData Read only An instance of BluetoothAdvertisingData containing the most recent advertising data received for the device. BluetoothDevice.deviceClass Read only A number representing the Bluetooth devices "Class of Device". Blueto...
Bluetooth.getDevices() - Web APIs
Web › API › Bluetooth › getDevices
s the Bluetooth devices this origin is allowed to access. This method does not display any permission prompts. Note: This method returns a BluetoothDevice for each device the origin is currently allowed to access, even the ones that are out of range or powered off. The program can detect when a device comes online or into range by watching for BlueTooth advertisements by calling BluetoothDevice.watchAdvertisements() on that device. Syntax var readerPromise = Bluetooth.getDevices(); Parameters None. Return value A Promise that resolves with an array of BluetoothDevices. Exceptions This method doesn't throw any exceptions. Specifications Specification Status Comment Web BluetoothThe definition of 'getDevices()' in that specification. Draft Initial definition. ...