Skip to content
Open
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
Loading