Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

CameraCapabilities.maxFocusAreas

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.

Ver tambien

Etiquetas y colaboradores del documento

 Colaboradores en esta página: fscholz, khalid32, voylinux
 Última actualización por: khalid32,