michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set ts=2 et sw=2 tw=80: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: */ michael@0: michael@0: /* The capabilities of a CameraControl instance. These are guaranteed michael@0: not to change over the lifetime of that particular instance. michael@0: */ michael@0: [Func="CameraCapabilities::HasSupport"] michael@0: interface CameraCapabilities michael@0: { michael@0: [Constant, Cached] readonly attribute sequence previewSizes; michael@0: [Constant, Cached] readonly attribute sequence pictureSizes; michael@0: [Constant, Cached] readonly attribute sequence thumbnailSizes; michael@0: [Constant, Cached] readonly attribute sequence videoSizes; michael@0: michael@0: [Constant, Cached] readonly attribute sequence fileFormats; michael@0: michael@0: [Constant, Cached] readonly attribute sequence whiteBalanceModes; michael@0: [Constant, Cached] readonly attribute sequence sceneModes; michael@0: [Constant, Cached] readonly attribute sequence effects; michael@0: [Constant, Cached] readonly attribute sequence flashModes; michael@0: [Constant, Cached] readonly attribute sequence focusModes; michael@0: michael@0: [Constant, Cached] readonly attribute sequence zoomRatios; michael@0: michael@0: [Constant, Cached] readonly attribute unsigned long maxFocusAreas; michael@0: [Constant, Cached] readonly attribute unsigned long maxMeteringAreas; michael@0: [Constant, Cached] readonly attribute unsigned long maxDetectedFaces; michael@0: michael@0: [Constant, Cached] readonly attribute double minExposureCompensation; michael@0: [Constant, Cached] readonly attribute double maxExposureCompensation; michael@0: [Constant, Cached] readonly attribute double exposureCompensationStep; michael@0: michael@0: [Constant, Cached] readonly attribute any recorderProfiles; michael@0: michael@0: [Constant, Cached] readonly attribute sequence isoModes; michael@0: };