Liking cljdoc? Tell your friends :D
ClojureScript only.

bluetooth.Bluetooth

The Bluetooth interface of the Web Bluetooth API returns a web.Promise a bluetooth.BluetoothDevice object with the specified options.

The Bluetooth interface of the Web Bluetooth API returns a `web.Promise`
a `bluetooth.BluetoothDevice` object with the specified options.
raw docstring

request-devicecljs

(request-device this & args)

Method.

The Bluetooth.requestDevice() method of the bluetooth.Bluetooth returns a web.Promise to a bluetooth.BluetoothDevice object the specified options. If there is no chooser UI, this method the first device matching the criteria.

Bluetooth.requestDevice([options]) .then(function(bluetoothDevice) { ... })

See also: https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/requestDevice

Method.

The Bluetooth.requestDevice() method of the `bluetooth.Bluetooth`
returns a `web.Promise` to a `bluetooth.BluetoothDevice` object
the specified options. If there is no chooser UI, this method
the first device matching the criteria.

`Bluetooth.requestDevice([options])
.then(function(bluetoothDevice) { ... })`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/requestDevice`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close