- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Tue, 27 Nov 2012 14:01:19 -0800
- To: Frederick.Hirsch@nokia.com
- CC: tobie@fb.com, anssi.kostiainen@nokia.com, nn.murthy@cmcltd.com, public-device-apis@w3.org
On 11/27/2012 12:51 PM, Frederick.Hirsch@nokia.com wrote: > Tobie > > I don't understand why it *should* be a boolean simply because we have > 'camera' to indicate device still image capture for a variety of devices > (let's ignore audio for now, as that is a different case) Because the extent to which the values currently are distinct is already handled, and should therefore be expressed, by the 'accept' attribute. If you want to be more specific later on, you can extend the boolean to take a list or something, and indicate preferences: capture='front-camera, back-camera, scanner, camcorder' But as for right now, you're just duplicating type information, and are therefore afaict better off just making it a boolean. It's easier to use, encourages people to put correct 'accept' values, and avoids even the possibility of mismatched values for 'capture' and 'accept'. ~fantasai
Received on Tuesday, 27 November 2012 22:01:50 UTC