init

open override fun init(input: JsonObject): QRCodeCollector

Initializes the QRCodeCollector with configuration from the input JSON.

Extracts and sets the following parameters:

  • content: QR code content as Base64-encoded data URI (default: "")

  • fallbackText: Alternative text if QR code cannot be displayed (default: "")

Return

This QRCodeCollector instance for method chaining

Parameters

input

JSON object containing the collector configuration with fields: - content: The Base64-encoded QR code image data - fallbackText: Alternative text for display

See also