- From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
- Date: Mon, 23 May 2016 20:50:47 +0000
- To: public-media-capture@w3.org
miguelao has just created a new issue for https://github.com/w3c/mediacapture-image: == Consider converting attribute PhotoCapabilities into a getCapabilities() method == ```ImageCapture``` has a [```readonly attribute PhotoCapabilities photoCapabilities;```](http://w3c.github.io/mediacapture-image/#image-capture-api), that is defined further on ([here](http://w3c.github.io/mediacapture-image/#photocapabilities)) as: > The photoCapabilities attribute of the ImageCapture object provides the photo-specific settings options and current settings values. Retrieving and updating such a field is inherently racy with the rest of the Web Platform code, so I propose converting this ```attribute``` into a ```Promise<PhotoCapabilities> getCapabilities(); [Throws]```, so basically the user/developer can control when/how often these numbers are retrieved, in an asynchronous way. Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/22 using your GitHub account
Received on Monday, 23 May 2016 20:50:49 UTC