My learning 0 of 20 lessons complete
Start lesson 1 →
platform-guideline 1 linked patterns checked

MDN Web Docs: Barcode Detection API

Documents secure-context barcode detection in images and video sources, limited browser availability, supported formats including qr_code, detector construction, supported-format checks, and decode error handling.

Read with a purpose

What this source can teach

Use this source to understand a platform convention and the setting it was designed for.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
QR scan Choose QR scan when decoding a code and acting on the decoded payload is the central task. Scanning starts only after users choose a QR-dependent task and can see purpose, fallback, and privacy impact. Supports secure-context barcode detection, limited browser availability, QR format support, detector construction, and image/video detection.

Evidence Role

This source is treated as platform-guideline evidence. Its value comes from the specific claims and setting described above.

Publisher: MDN Web Docs. Last checked: .

Saved items