Before the STRICH SDK BarcodeReader can be used, a one-time initialization of the SDK must be performed.
Check if the browser has access to a camera device, which is required for scanning barcodes. This can be used as a check if a BarcodeReader should be presented, or a fallback to a manual input method or error page should be displayed.
A Promise that resolves to a boolean value indicating if a camera is available. The Promise will reject if the check fails for any reason (including missing/denied permissions).
One-time initialization of the SDK.
The license key obtained from the Customer Portal.
Return true if the SDK was successfully initialized, false otherwise.
Set custom ID for analytics.
The custom ID is independent of the device ID, and can be used for custom device identifiers, location identifiers or anonymous user identifiers.
USING THE CUSTOM ID TO TRANSMIT PERSONALLY IDENTIFYING DATA IS FORBIDDEN AND CONSTITUTES A BREACH OF THE TERMS OF THE LICENSE AGREEMENT.
The custom ID. Use
null to unset the custom ID.
No custom ID is set by default
Override the language that was detected from the browser's language (navigator.language)
ISO language code, e.g. 'en'
Return the version of the STRICH SDK.
Generated using TypeDoc