Re: [web-bluetooth] discussion: is there possibility to change getAvailability() be sync API (#459)

The availability is not affected by the powered state of the Bluetooth radio. It's only affected by whether there is a physical Bluetooth radio attached to the system or not [1 & 2]. A site could check availability, then ask the user to insert an adapter and click a button to check again. But this would only really affect devices that have an external adapter, which most devices today have Bluetooth integrated. I hope this clears up any confusion about the API.

[1] [https://webbluetoothcg.github.io/web-bluetooth/#availability-fingerprint](https://webbluetoothcg.github.io/web-bluetooth/#availability-fingerprint)
[2] [https://webbluetoothcg.github.io/web-bluetooth/#availability](https://webbluetoothcg.github.io/web-bluetooth/#availability)

-- 
GitHub Notification of comment by odejesush
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/459#issuecomment-546410554 using your GitHub account

Received on Friday, 25 October 2019 15:56:06 UTC