You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some platforms don't support Bluetooth LE at all. Others support it conditionally depending on whether a radio is attached. getAvailability() covers the second group of platforms, and can be used to cover the first, but it might be simpler for developers to be able to treat no-Bluetooth platforms they same as they treat no-Bluetooth browsers.
Agreed that it's more predictable for developers if the API doesn't show up at all in the cases we know the feature is never available on the platform.
I'm thinking about removing navigator.bluetooth on platforms like Windows 7 or MacOX 10.9, where even if the user plugged in a cheap dongle, we still wouldn't be able to give them Web Bluetooth. On platforms that support Bluetooth but machines where they'd have to plug in a dongle, the site would need to use getAvailability().
Some platforms don't support Bluetooth LE at all. Others support it conditionally depending on whether a radio is attached.
getAvailability()
covers the second group of platforms, and can be used to cover the first, but it might be simpler for developers to be able to treat no-Bluetooth platforms they same as they treat no-Bluetooth browsers.w3c/web-share#8 and whatwg/notifications#81 propose this strategy for two other specs.
@slightlyoff @PaulKinlan @RByers
The text was updated successfully, but these errors were encountered: