The LicenseManager class provides a set of APIs to manage the licensing for the Dynamsoft Capture Vision architecture.

Methods

Methods

  • Initializes the license for the application using a license key.

    Code Snippet:

    LicenseManager.initLicense('your-license-key').then(() => {
    //Init license successfully.
    }).catch(error => {
    console.error("Init license failed.", error);
    });

    Parameters

    • license: string

      The license key to be used for initialization.

    Returns Promise<void>

    Promise - A promise that resolves when initLicense successfully or rejects an error when failed.