On 09/05/13 15:04, Mike Habicher wrote: > On 13-05-09 08:43 AM, Ben Francis wrote: >> On Thu, May 9, 2013 at 11:41 AM, Mounir Lamouri <[email protected]> wrote: >> >>> What happens if you call getCamera(), get a nsICameraControl from the >>> success callback and call .flashMode = 'torch'? Wouldn't that turn the >>> flash on or will that only be taken into account when a recording will >>> start? >> >> Wouldn't that only work for certified apps? > Setting .flashMode='torch' will do what you describe, but it still > requires getting the camera object, which, as Ben points out, can only > be done from a certified app.
Sure, but the API is there and it will be available for more type of applications while being more mature, hopefully. -- Mounir _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
