Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions programming/android/foundational-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<div class="sample-code-prefix"></div>
Expand Down
5 changes: 5 additions & 0 deletions programming/objectivec-swift/foundational-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<div class="sample-code-prefix"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading