Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExportAddressDataSchema describes a contact add QR code data schema.

since

0.3.0

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly VERSION

VERSION: 3 = 3

The AccountQR QR Code version

var

{number}

Methods

getData

  • The getData() method returns an object that will be stored in the data field of the underlying QR Code JSON content.

    Parameters

    Returns any

toObject

  • The toObject() method returns a JSON object with required fields.

    Parameters

    Returns any

Static parse

  • Parse a JSON QR code content into a ContactQR object.

    throws

    {Error} On empty json given.

    throws

    {Error} On missing type field value.

    throws

    {Error} On unrecognized QR code type field value.

    Parameters

    • json: string

    Returns AddressQR

Generated using TypeDoc