diff --git a/programming/android/foundational-guide.md b/programming/android/foundational-guide.md index b38f7002..010cd57a 100644 --- a/programming/android/foundational-guide.md +++ b/programming/android/foundational-guide.md @@ -298,6 +298,11 @@ Add the SDK to your new project. Please read [Add the Libraries](#add-the-librar } ``` +> [!IMPORTANT] +> Instances of `CaptureVisionRouter` are not thread-safe. +> Do not access the same `CaptureVisionRouter` instance from multiple threads concurrently. +> Create a separate instance for each thread if concurrent processing is required. + 2. Create a `CapturedResultReceiver` and register with the `CaptureVisionRouter` instance to get recognized barcode results.
diff --git a/programming/objectivec-swift/foundational-guide.md b/programming/objectivec-swift/foundational-guide.md index 36107d25..f7b5c37a 100644 --- a/programming/objectivec-swift/foundational-guide.md +++ b/programming/objectivec-swift/foundational-guide.md @@ -218,6 +218,11 @@ func setUpCamera() { } ``` +> [!IMPORTANT] +> Instances of `CaptureVisionRouter` are not thread-safe. +> Do not access the same `CaptureVisionRouter` instance from multiple threads concurrently. +> Create a separate instance for each thread if concurrent processing is required. + 2. Implement `onDecodedBarcodesReceived` to receive the barcode decoding results and add this result receiver to the current CVR object. diff --git a/programming/react-native/api-reference/barcode-scanner/barcode-scanner-config.md b/programming/react-native/api-reference/barcode-scanner/barcode-scanner-config.md index 16608935..a521986d 100644 --- a/programming/react-native/api-reference/barcode-scanner/barcode-scanner-config.md +++ b/programming/react-native/api-reference/barcode-scanner/barcode-scanner-config.md @@ -175,7 +175,7 @@ expectedBarcodesCount?: number; - 0: detects at least one barcode. - N ( N > 0 ): detects N barcodes. -- Dynamsoft Barcode Reader works as a loop trying different parameters to detect as many barcodes as possible till it reaches the nuumber specified by expectedBarcodesCount. If expectedBarcodesCount is 0, the loop stops after a cycle finishes and detects at least one barcode. If ExpectedBarcodesCount is N, the loop stops once N barcodes are detected. +- Dynamsoft Barcode Reader works as a loop trying different parameters to detect as many barcodes as possible till it reaches the number specified by expectedBarcodesCount. If expectedBarcodesCount is 0, the loop stops after a cycle finishes and detects at least one barcode. If ExpectedBarcodesCount is N, the loop stops once N barcodes are detected. ### templateNodeRequire