MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Los resultados de tu búsqueda

    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

    Contributors to this page: khalid32, voylinux, fscholz
    Última actualización por: khalid32,