The type of the QR Code.
The getCorrectionLevel()
method should return the
QR Code correction level.
Sub-classes may overload this method to provide with a different correction level.
The getSchema()
method should return an instance
of a sub-class of QRCodeDataSchema which describes
the QR Code data.
The getTypeNumber()
method should return the
version number for QR codes of the underlying class.
Generate QRcode image Base64.
The returned string can be put in the src
attribute
of a <img />
tag directly in HTML. The produced image
will be a PNG.
(Optional) Settings for generation
Return image data in Base64.
Generate QRCode to be printed on a node-canvas
. This
is compatible with the browser and node.
(Optional) Settings for generation
The toJSON()
method should return the JSON
representation of the QR Code content.
Generate QRCode and return object.
(Optional) Settings for generation
Generate QRCode as a string. This permits to display SVG format, Terminal format or utf-8 format.
(Optional) Settings for generation
(Optional) The QR Code text type, defaults to "terminal"
Parse a JSON QR code content into a CosignatureQR object.
the transaction parser that creates a transaction from a binary payload.
Generated using TypeDoc
Construct a Transaction Request QR Code out of the symbol-sdk Transaction instance.