We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e44eab commit 2df5cf9Copy full SHA for 2df5cf9
license-activation/index.md
@@ -38,11 +38,13 @@ The following shows how to set the license in the code.
38
>
39
40
```js
41
-// Option 1: Initialize using the RTU (Ready-To-Use) BarcodeScanner APIs
+// Option 1: Set the license when using the RTU (Ready-To-Use) class `BarcodeScanner`.
42
+// Note: The license initialization is deferred until `launch()` is called.
43
const barcodeScanner = new Dynamsoft.BarcodeScanner({
44
license: "YOUR_LICENSE_KEY",
45
});
-// Option 2: Initialize the license using the Foundational APIs
46
+// Option 2: Set the license when using the Foundational API.
47
+// Note: The license initialization is also deferred.
48
Dynamsoft.License.LicenseManager.initLicense("YOUR_LICENSE_KEY");
49
```
50
0 commit comments