getSpatialMapWithHints method

Future<BarcodeSpatialGrid?> getSpatialMapWithHints(
  1. int expectedNumberOfRows,
  2. int expectedNumberOfColumns
)

Computes the spatial map with the current session data, using the passed values as hints. If a value is returned by this method the scanning is automatically suspended. Returns null if BarcodeCountSettings.mappingEnabled is false.

The Barcode Count mapping API is still in beta and may change in future versions of Scandit Data Capture SDK.

Added in version 8.3.0

Implementation

Future<BarcodeSpatialGrid?> getSpatialMapWithHints(int expectedNumberOfRows, int expectedNumberOfColumns) {
  return _controller.getSpatialMapWithHints(_viewId, expectedNumberOfRows, expectedNumberOfColumns);
}