HarmonyOS QR Code Generation

Introduction

A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional barcode).

HarmonyOS provides code generation to return the byte stream of a quick response (QR) code image based on a given string and QR code image size. The caller can use the QR code byte stream to generate a QR code image.