No estándar
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
This API is available on Firefox OS for internal applications only.
Resumen
La propiedad maxFocusAreas
es un numero que define el numero maximo de areas de foco que permite la camara.
Sintaxis
var max = instanceOfCameraControl.capabilities.maxFocusAreas
Valor
Devuelve un numero.
Ejemplo
var options = { camera: navigator.mozCameras.getListOfCameras()[0] }; function onSuccess(camera) { console.log(camera.capabilities.maxFocusAreas); }; navigator.mozCameras.getCamera(options, onSuccess)
Especificacion
No es parte de ninguna especificacion; en cualquier caso, esta API deberia ser eliminada cuando la WebRTC Capture and Stream API haya sido implementada.