- From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
- Date: Thu, 23 Apr 2015 20:49:12 +0000
- To: public-web-bluetooth-log@w3.org
jyasskin has just submitted a new pull request for https://github.com/WebBluetoothCG/web-bluetooth: == Move requestDevice()'s filters argument into its options dictionary. == This changes calls like ```javascript requestDevice( [ {services: [A, B]}, {services: [A, C]}], {optionalServices: [D, E]}) ``` to ```javascript requestDevice({ filters: [ {services: [A, B]}, {services: [A, C]}], optionalServices: [D, E] }); ``` I think it's a little clearer to label the array, but I'm happy to drop this if other people think it's worse, or that we should just put it off until we have developer feedback. https://rawgit.com/jyasskin/web-bluetooth-1/filters-in-requestdevice-options/index.html#device-discovery See https://github.com/WebBluetoothCG/web-bluetooth/pull/107
Received on Thursday, 23 April 2015 20:49:13 UTC