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.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- 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. |
Comparisons supported by this source
- QR scan vs camera capture vs permission request vs file upload vs two-factor authentication vs security warning
Supports QR code detection from images and video sources, limited support, secure context, detector creation, and supported formats.
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: .