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

Hi yorkie,

Thanks for bringing up this issue. @scheib, @reillyeon, and I had a discussion about this and concluded that it doesn't make much sense to have both APIs. Therefore, the `availabilitychanged` event will be removed from the spec. Most mobile devices and laptops have Bluetooth integrated into them. Devices such as desktop PCs that use Bluetooth adapters to enable Bluetooth functionality are probably the only ones that could really not have Bluetooth available. A site could always check for availability when it first loads and prompt the user to insert a Bluetooth adapter and reload the page.

Please let me know if you have a particular use case that needs the 'availabiltychanged' event.

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

Received on Thursday, 24 October 2019 20:32:09 UTC