From Foxfooding feedback https://groups.google.com/a/mozilla.com/forum/#!topic/foxfood-feedback/qbz_1rint_I I used to have camera which can adjust the exposure for outdoor photos. So I tried to write an addon to manually add exposure functions. The interesting fact is the mozCamera exposure API part of MDN doc is incorrect . By exploring with WebIDE, I found: 1. Can use `window.app.camera` to access.capabilities.min/max/step of ExposureCompensation; 2. getter of exposureCompensation is not available in camera instance, so I can't get current exposure compensation https://developer.mozilla.org/en-US/docs/Web/API/CameraControl/exposureCompensation 3. setter of exposureCompensation is not available in camera instance, so I can't set exposure compensation https://developer.mozilla.org/en-US/docs/Web/API/CameraControl/setExposureCompensation
The MDN documentation is out of date as of bug 1020497 (June 2014). The correct usage is to just read/write the .exposureCompensation attribute of CameraControl, subject to the constraints of CameraCapabilities.min/maxExposureCompensation.
QA Whiteboard: [foxfood-triage]
Component: General → Gaia::Camera
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.