Search completed in 1.05 seconds.
Bluetooth.getAvailability() - Web APIs
the
getavailability() method of bluetooth interface of web bluetooth api interface exposes the bluetooth capabilities of the current device.
... note: user might not allow use of web bluetooth api, even if
getavailability() returned true (navigator.bluetooth.requestdevice() might not resolve with a bluetoothdevice).
... syntax var readerpromise = bluetooth.
getavailability(); parameters none.
...And 2 more matches
Bluetooth - Web APIs
interface interface bluetooth : eventtarget { promise<boolean>
getavailability(); attribute eventhandler onavailabilitychanged; [sameobject] readonly attribute bluetoothdevice?
... methods bluetooth.
getavailability() returns a promise that resolved to a boolean indicating whether the user-agent has the ability to support bluetooth.