BarcodeContentOf extension

barcode.content: the payload parsed into a typed value. Lives in the content layer, so the core Barcode does not depend on parsing.

on

Properties

content → BarcodeContent

Available on Barcode, provided by the BarcodeContentOf extension

The payload parsed into a typed value: a URL, a Wi-Fi network, a contact, GS1 data and so on. Falls back to TextContent or BinaryContent. Parsed once per barcode.
no setter