{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/ambient-light",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "ambient-light",
    "name": "Ambient light sensor",
    "description": "The AmbientLightSensor API returns the current light level in lux of the ambient light level around the device.",
    "group": "sensors",
    "groupName": "Sensors",
    "spec": "https://w3c.github.io/ambient-light/",
    "baseline": false,
    "compatCount": 6,
    "cats": [
      "api",
      "html",
      "http"
    ],
    "compatKeysSample": [
      "api.AmbientLightSensor",
      "api.AmbientLightSensor.AmbientLightSensor",
      "api.AmbientLightSensor.illuminance",
      "api.Permissions.permission_ambient-light-sensor",
      "html.elements.iframe.allow.ambient-light-sensor",
      "http.headers.Permissions-Policy.ambient-light-sensor"
    ],
    "s": {}
  },
  "relatedBcdFeatures": [
    {
      "id": "api.AmbientLightSensor",
      "cat": "api",
      "mdn": "API/AmbientLightSensor",
      "spec": "https://w3c.github.io/ambient-light/#ambient-light-sensor-interface",
      "st": 3,
      "wf": "ambient-light",
      "bl": false,
      "s": {
        "chrome": {
          "f": [
            "56",
            17191
          ]
        },
        "edge": {
          "f": [
            "79",
            18276
          ]
        },
        "chrome_android": {
          "f": [
            "56",
            17198
          ]
        },
        "opera": {
          "f": [
            "43",
            17204
          ]
        },
        "oculus": {
          "f": [
            "5.0",
            17713
          ]
        }
      }
    },
    {
      "id": "api.AmbientLightSensor.AmbientLightSensor",
      "cat": "api",
      "mdn": "API/AmbientLightSensor/AmbientLightSensor",
      "spec": "https://w3c.github.io/ambient-light/#dom-ambientlightsensor-ambientlightsensor",
      "st": 3,
      "wf": "ambient-light",
      "bl": false,
      "s": {
        "chrome": {
          "f": [
            "56",
            17191
          ]
        },
        "edge": {
          "f": [
            "79",
            18276
          ]
        },
        "chrome_android": {
          "f": [
            "56",
            17198
          ]
        },
        "opera": {
          "f": [
            "43",
            17204
          ]
        },
        "oculus": {
          "f": [
            "5.0",
            17713
          ]
        }
      }
    },
    {
      "id": "api.AmbientLightSensor.illuminance",
      "cat": "api",
      "mdn": "API/AmbientLightSensor/illuminance",
      "spec": "https://w3c.github.io/ambient-light/#ambient-light-sensor-reading-attribute",
      "st": 3,
      "wf": "ambient-light",
      "bl": false,
      "s": {
        "chrome": {
          "f": [
            "56",
            17191
          ]
        },
        "edge": {
          "f": [
            "79",
            18276
          ]
        },
        "chrome_android": {
          "f": [
            "56",
            17198
          ]
        },
        "opera": {
          "f": [
            "43",
            17204
          ]
        },
        "oculus": {
          "f": [
            "5.0",
            17713
          ]
        }
      },
      "notes": [
        {
          "t": "In Chrome 79, this method stopped returning floats and returned integers to avoid fingerprinting.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "In Edge 79, this method stopped returning floats and returned integers to avoid fingerprinting.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "In Chrome Android 79, this method stopped returning floats and returned integers to avoid fingerprinting.",
          "b": [
            "chrome_android"
          ]
        },
        {
          "t": "In Opera 66, this method stopped returning floats and returned integers to avoid fingerprinting.",
          "b": [
            "opera"
          ]
        },
        {
          "t": "In Quest Browser 8.0, this method stopped returning floats and returned integers to avoid fingerprinting.",
          "b": [
            "oculus"
          ]
        }
      ]
    },
    {
      "id": "api.Permissions.permission_ambient-light-sensor",
      "cat": "api",
      "spec": "https://w3c.github.io/ambient-light/#permissiondef-ambient-light-sensor",
      "st": 3,
      "wf": "ambient-light",
      "bl": false,
      "s": {
        "chrome": {
          "f": [
            "62",
            17456
          ]
        },
        "edge": {
          "f": [
            "79",
            18276
          ]
        },
        "chrome_android": {
          "f": [
            "62",
            17463
          ]
        },
        "opera": {
          "f": [
            "49",
            17478
          ]
        },
        "oculus": {
          "f": [
            "5.0",
            17713
          ]
        }
      }
    },
    {
      "id": "html.elements.iframe.allow.ambient-light-sensor",
      "cat": "html",
      "spec": "https://w3c.github.io/sensors/#permissions-policy",
      "st": 3,
      "wf": "ambient-light",
      "bl": false,
      "s": {
        "chrome": {
          "f": [
            "66",
            17638
          ]
        },
        "edge": {
          "f": [
            "79",
            18276
          ]
        },
        "chrome_android": {
          "f": [
            "66",
            17638
          ]
        },
        "opera": {
          "f": [
            "53",
            17661
          ]
        },
        "oculus": {
          "f": [
            "5.0",
            17713
          ]
        }
      }
    },
    {
      "id": "http.headers.Permissions-Policy.ambient-light-sensor",
      "cat": "http",
      "mdn": "HTTP/Reference/Headers/Permissions-Policy/ambient-light-sensor",
      "spec": "https://w3c.github.io/sensors/#permissions-policy",
      "st": 3,
      "wf": "ambient-light",
      "bl": false,
      "s": {
        "chrome": {
          "f": [
            "66",
            17638
          ]
        },
        "edge": {
          "f": [
            "79",
            18276
          ]
        },
        "chrome_android": {
          "f": [
            "66",
            17638
          ]
        },
        "opera": {
          "f": [
            "53",
            17661
          ]
        },
        "oculus": {
          "f": [
            "5.0",
            17713
          ]
        }
      }
    }
  ]
}