- From: Giovanni Ortuno via GitHub <sysbot+gh@w3.org>
- Date: Mon, 09 Nov 2015 22:06:38 +0000
- To: public-web-bluetooth-log@w3.org
This LGTM. Re: Not allowing both `name` and `namePrefix`. I'm not opposed. But maybe we should reconsider our approach so we only expose one field. Talking with @scheib he mentioned that an ignore case option would be useful so maybe expose prefix as an options as well. Something like: ```js navigator.bluetooth.requestDevice({ filters: [{ name: { str: 'somename', ignoreCase: true, prefix: true, postfix: , fragment: , ... } }] }); ``` It would allow developers more options for searching by name and keep the implementation simple. -- GitHub Notif of comment by g-ortuno See https://github.com/WebBluetoothCG/web-bluetooth/pull/187#issuecomment-155214132
Received on Monday, 9 November 2015 22:06:40 UTC