scandit-capacitor-datacapture-core 8.7.0 → 8.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
package/android/src/main/java/com/scandit/capacitor/datacapture/core/ScanditCaptureCoreNative.java
CHANGED
|
@@ -272,6 +272,11 @@ public class ScanditCaptureCoreNative extends Plugin implements Emitter {
|
|
|
272
272
|
return this.hasListenersForEvent(eventName);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
@Override
|
|
276
|
+
public boolean hasRegisteredViewListenersForEvent(int viewId, @NonNull String eventName) {
|
|
277
|
+
return false;
|
|
278
|
+
}
|
|
279
|
+
|
|
275
280
|
/**
|
|
276
281
|
* Single entry point for all Core operations. Routes method calls to the appropriate command via
|
|
277
282
|
* the shared command factory.
|
package/dist/dts/core.d.ts
CHANGED
|
@@ -5809,7 +5809,7 @@ declare class DataCaptureContextSettings extends DefaultSerializeable {
|
|
|
5809
5809
|
*
|
|
5810
5810
|
* Capture modes are restricted to the set of data captures modes provided by the Scandit Data Capture SDK. It is not available for implementing custom data capture modes.
|
|
5811
5811
|
*
|
|
5812
|
-
* Capture modes need to be associated with a {@link DataCaptureContext|data capture context} after they have been created using {@link DataCaptureContext.
|
|
5812
|
+
* Capture modes need to be associated with a {@link DataCaptureContext|data capture context} after they have been created using {@link DataCaptureContext.setMode}. Modes can be removed again using {@link DataCaptureContext.removeAllModes}.
|
|
5813
5813
|
*
|
|
5814
5814
|
* A data capture context can only be associated with one mode at a time. If multiple modes are associated with the same context, the context will not process any frames and report an error.
|
|
5815
5815
|
*
|
|
@@ -5828,10 +5828,8 @@ declare class DataCaptureContextSettings extends DefaultSerializeable {
|
|
|
5828
5828
|
* ```javascript
|
|
5829
5829
|
* const settings = new Scandit.BarcodeCaptureSettings();
|
|
5830
5830
|
* settings.setSymbologyEnabled(Scandit.Symbology.QR, true);
|
|
5831
|
-
* const barcodeCapture = Scandit.BarcodeCapture
|
|
5832
|
-
*
|
|
5833
|
-
* settings,
|
|
5834
|
-
* );
|
|
5831
|
+
* const barcodeCapture = new Scandit.BarcodeCapture(settings);
|
|
5832
|
+
* window.captureContext.setMode(barcodeCapture);
|
|
5835
5833
|
* // Capture modes are enabled by default. The next line is not strictly necessary and
|
|
5836
5834
|
* // is only listed to make you aware of the possibility to enable/disable modes.
|
|
5837
5835
|
* barcodeCapture.isEnabled = true;
|
package/dist/index.js
CHANGED