Skip to main content
Current permission state, when the transport can report it (Web NFC can; Web Serial and WebUSB expose no queryable permission - use getConnectionState() there). Lets callers warn before scanning.

Example