Skip to content

Commit 93ba321

Browse files
update to internal commit 9cd76d56
1 parent 1e70e56 commit 93ba321

27 files changed

+2034
-382
lines changed

_data/full_tree.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ tree_file_list:
4747
- sidelist-programming/programming-xamarin.html
4848
- sidelist-programming/programming-react-native.html
4949
- sidelist-programming/programming-maui.html
50-
- sidelist-programming/programming-maui-v10.2.1101.html
50+
- sidelist-programming/programming-maui-v10.4.3000.html
51+
- sidelist-programming/programming-maui-v10.2.1101.html

_data/product_version.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ version_info_list:
2424

2525
version_info_list_mobile:
2626
- value: latest version
27+
- value: 11.x
28+
child:
29+
- 11.0.3000_android
2730
- value: 10.x
2831
child:
2932
- 10.4.3001_android
3033
- 10.4.3001_ios
3134
- 10.4.3000_android
35+
- 10.4.3000_maui
3236
- 10.4.3000_ios
3337
- 10.4.2003_android
3438
- 10.4.2003_ios

_includes/sidelist-programming/programming-maui-v10.4.3000.html

Lines changed: 318 additions & 0 deletions
Large diffs are not rendered by default.

_includes/sidelist-programming/programming-maui.html

Lines changed: 314 additions & 92 deletions
Large diffs are not rendered by default.

assets/js/dbrMobileVersionSearch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
[
2+
{
3+
"version": "11.0.3100",
4+
"matchVersion": {
5+
"android": "3.0.3100",
6+
"maui": "3.0.3100"
7+
}
8+
},
9+
{
10+
"version": "11.0.3000",
11+
"matchVersion": {
12+
"android": "3.0.3000",
13+
"ios": "3.0.3000",
14+
"maui": "3.0.3000"
15+
}
16+
},
217
{
318
"version": "10.4.3002",
419
"matchVersion": {

programming/android/foundational-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ There are two ways to add the libraries into your project - **Manually** and **M
127127

128128
In this section, we are going to explain how to create a Hello World implementation similar to our simple `DecodeWithCameraEnhancer` app for reading barcodes from camera video input.
129129

130-
>Note:
130+
> [!NOTE]
131131
>
132132
> - Android Studio 2024.1.2 is used here in this guide.
133133
> - You can get similar source code from

programming/android/release-notes/android-11.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ noTitleIndex: true
1010

1111
# Release Notes for Android SDK - 11.x
1212

13+
## 11.0.3100 (05/30/2025)
14+
15+
### Fixed
16+
17+
- Fixed a bug where `CameraEnhancer.open ` might not work when triggered before the finish of the onCreate of the lifecycle.
18+
- Fixed a bug where the click event of the `ArcDrawingItem` might not be triggered when there is a `ScanRegion`.
19+
- Fixed a bug where the `ArcDrawingItem` might be displayed incorrectly when there is a `ScanRegion`.
20+
1321
## 11.0.3000 (05/15/2025)
1422

1523
### [Highlights](https://www.dynamsoft.com/release-highlights/?product=dbr11.0)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
layout: default-layout
3+
title: BarcodeScanResult Class - Dynamsoft Barcode Reader MAUI Edition
4+
description: BarcodeScanResult of Dynamsoft Barcode Reader MAUI is a result class that contains all the decoded barcodes.
5+
keywords: barcode, scanner, scan result
6+
needAutoGenerateSidebar: true
7+
needGenerateH3Content: true
8+
breadcrumbText: BarcodeScanResult
9+
---
10+
11+
# BarcodeScanResult
12+
13+
`BarcodeScanResult` is a result class that contains all the decoded barcodes.
14+
15+
## Definition
16+
17+
*Assembly:* Dynamsoft.BarcodeReaderBundle.Maui
18+
19+
*Namespace:* Dynamsoft.BarcodeReaderBundle.Maui
20+
21+
```csharp
22+
class BarcodeScanResult
23+
```
24+
25+
## Properties
26+
27+
| Property | Type | Description |
28+
| -------- | ---- | ----------- |
29+
| [`Barcodes`](#barcodes) | [*BarcodeResultItem[]*](../barcode-result-item.md) | Represents all the decoded barcodes in an array of [`BarcodeResultItem`](../barcode-result-item.md). |
30+
| [`ResultStatus`](#resultstatus) | [*EnumResultStatus*](result-status.md) | Represents the result status, which can be finished, canceled or exception. |
31+
| [`ErrorCode`](#errorcode) | *int* | Represents the error code should something go wrong during the barcode scanning process. |
32+
| [`ErrorString`](#errorstring) | *string* | Represents the error message associated with the error code should something go wrong during the barcode scanning process. |
33+
34+
### Barcodes
35+
36+
Represents all the decoded barcodes in an array of [`BarcodeResultItem`](../barcode-result-item.md).
37+
38+
```csharp
39+
BarcodeResultItem[]? Barcodes {get; set;}
40+
```
41+
42+
**See also**
43+
44+
- [`BarcodeResultItem`](../barcode-result-item.md).
45+
46+
### ResultStatus
47+
48+
Represents the status of the result, which can be finished, canceled or exception.
49+
50+
```csharp
51+
EnumResultStatus ResultStatus {get; set;};
52+
```
53+
54+
- `Finished`: The barcode scanning is finished.
55+
- `Canceled`: The barcode scanning activity is closed before the process is finished.
56+
- `Exception`: Failed to start barcode scanning or an error occurs when scanning the barcode.
57+
58+
### ErrorCode
59+
60+
Represents the error code should something go wrong during the barcode scanning process.
61+
62+
```csharp
63+
int ErrorCode {get; set;};
64+
```
65+
66+
### ErrorString
67+
68+
Represents the error message associated with the error code should something go wrong during the barcode scanning process.
69+
70+
```csharp
71+
string? ErrorString {get; set;};
72+
```
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
---
2+
layout: default-layout
3+
title: BarcodeScannerConfig Class - Dynamsoft Barcode Reader MAUI Edition
4+
description: BarcodeScannerConfig of DynamsoftBarcodeReader MAUI is the class that defines the configurations for Barcode scanning.
5+
keywords: Barcode, scanner, config
6+
needAutoGenerateSidebar: true
7+
needGenerateH3Content: true
8+
breadcrumbText: BarcodeScannerConfig
9+
---
10+
11+
# BarcodeScannerConfig
12+
13+
`BarcodeScannerConfig` is the class that defines the configurations for Barcode scanning.
14+
15+
## Definition
16+
17+
*Assembly:* Dynamsoft.BarcodeReaderBundle.Maui
18+
19+
*Namespace:* Dynamsoft.BarcodeReaderBundle.Maui
20+
21+
```csharp
22+
final class BarcodeScannerConfig
23+
```
24+
25+
## Properties
26+
27+
| Property | Type | Description |
28+
| -------- | ---- | ----------- |
29+
| [`License`](#license) | *string* | Represents the license string. |
30+
| [`TemplateFile`](#templatefile) | *string* | Represents the template with a file path or a JSON string. |
31+
| [`IsTorchButtonVisible`](#istorchbuttonvisible) | *bool* | Represents the visibility status of the torch button. |
32+
| [`IsBeepEnabled`](#isbeepenabled) | *bool* | Represents the play status of the beep sound when a Barcode is scanned. |
33+
| [`IsCloseButtonVisible`](#isclosebuttonvisible) | *bool* | Represents the visibility status of the close button. |
34+
| [`IsGuideFrameVisible`](#isguideframevisible) | *bool* | Represents the visibility status of the guide frame on the display. |
35+
| [`IsCameraToggleButtonVisible`](#Iscameratogglebuttonvisible) | *bool* | Represents the visibility status of the camera toggle button. |
36+
| [`ScanRegion`](#scanregion) | *DMRect?* | Represents the region to scan. |
37+
| [`IsScanLaserVisible`](#isscanlaservisible) | *bool* | Represents the visibility status of the scan laser. |
38+
| [`IsAutoZoomEnabled`](#isautozoomenabled) | *bool* | Represents the status of auto zoom. |
39+
| [`BarcodeFormats`](#barcodeformats) | *EnumBarcodeFormat* | Represents the supported Barcode formats. |
40+
| [`ScanningMode`](#scanningmode) | *EnumScanningMode* | Represents the scanning mode. |
41+
| [`MaxConsecutiveStableFramesToExit`](#maxconsecutivestableframestoexit) | *int* | Represents the maximum number of consecutive stable frames to exit. |
42+
| [`ExpectedBarcodesCount`](#expectedbarcodescount) | *int* | Represents the expected number of barcodes. |
43+
44+
### License
45+
46+
Represents the license string.
47+
48+
```csharp
49+
string License { get; set; };
50+
```
51+
52+
### TemplateFile
53+
54+
Represents the template with a file path or a JSON string.
55+
56+
```csharp
57+
string? TemplateFile { get; set; };
58+
```
59+
60+
### IsTorchButtonVisible
61+
62+
Represents the visibility status of the torch button.
63+
64+
```csharp
65+
bool IsTorchButtonVisible { get; set; };
66+
```
67+
68+
### IsBeepEnabled
69+
70+
Represents the play status of the beep sound when a Barcode is scanned.
71+
72+
```csharp
73+
bool IsBeepEnabled { get; set; };
74+
```
75+
76+
### IsCloseButtonVisible
77+
78+
Represents the visibility status of the close button.
79+
80+
```csharp
81+
bool IsCloseButtonVisible { get; set; };
82+
```
83+
84+
### IsCameraToggleButtonVisible
85+
86+
Represents the visibility status of the camera toggle button.
87+
88+
```csharp
89+
bool IsCameraToggleButtonVisible { get; set; };
90+
```
91+
92+
### ScanRegion
93+
94+
Represents the region to scan.
95+
96+
```csharp
97+
DMRect? ScanRegion { get; set; };
98+
```
99+
100+
### IsScanLaserVisible
101+
102+
Represents the visibility status of the scan laser.
103+
104+
```csharp
105+
bool IsScanLaserVisible { get; set; };
106+
```
107+
108+
### IsAutoZoomEnabled
109+
110+
Represents the status of auto zoom.
111+
112+
```csharp
113+
bool IsAutoZoomEnabled { get; set; };
114+
```
115+
116+
### BarcodeFormats
117+
118+
Represents the supported Barcode formats.
119+
120+
```csharp
121+
EnumBarcodeFormat BarcodeFormats { get; set; };
122+
```
123+
124+
### ScanningMode
125+
126+
Represents the scanning mode.
127+
128+
```csharp
129+
EnumScanningMode ScanningMode { get; set; };
130+
```
131+
132+
### MaxConsecutiveStableFramesToExit
133+
134+
Represents the maximum number of consecutive stable frames to exit.
135+
136+
```csharp
137+
int MaxConsecutiveStableFramesToExit { get; set; };
138+
```
139+
140+
### ExpectedBarcodesCount
141+
142+
Represents the expected number of barcodes.
143+
144+
```csharp
145+
int ExpectedBarcodesCount { get; set; };
146+
```
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
layout: default-layout
3+
title: BarcodeScanner Class - Dynamsoft Barcode Reader MAUI Edition
4+
description: BarcodeScanner of DynamsoftBarcodeScanner MAUI is an activity class that implements Barcode scanning features.
5+
keywords: Barcode, scanner, activity
6+
needAutoGenerateSidebar: true
7+
needGenerateH3Content: true
8+
breadcrumbText: BarcodeScanner
9+
---
10+
11+
# Class BarcodeScanner
12+
13+
`BarcodeScanner` is an activity class that implements Barcode scanning features.
14+
15+
## Definition
16+
17+
*Assembly:* Dynamsoft.BarcodeReaderBundle.Maui
18+
19+
*Namespace:* Dynamsoft.BarcodeReaderBundle.Maui
20+
21+
```csharp
22+
class BarcodeScanner extends AppCompat
23+
```
24+
25+
## Start
26+
27+
`Start` is a static method that starts the BarcodeScanner.
28+
29+
```csharp
30+
static async Task<BarcodeScanResult> Start(BarcodeScannerConfig config)
31+
```
32+
33+
## How to Use
34+
35+
```csharp
36+
using Dynamsoft.BarcodeReaderBundle.Maui;
37+
38+
namespace ScanBarcodes_ReadyToUseComponent;
39+
public partial class MainPage : ContentPage
40+
{
41+
public MainPage()
42+
{
43+
InitializeComponent();
44+
}
45+
46+
private async void OnScanBarcode(object sender, EventArgs e)
47+
{
48+
// Initialize the license.
49+
// The license string here is a trial license. Note that network connection is required for this license to work.
50+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=mobile
51+
var config = new BarcodeScannerConfig("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
52+
var result = await BarcodeScanner.Start(config);
53+
var message = result.ResultStatus switch
54+
{
55+
EnumResultStatus.Finished => string.Join("\n",
56+
result.Barcodes!.Select(item => item.FormatString + "\n" + item.Text)),
57+
EnumResultStatus.Canceled => "Scanning canceled",
58+
EnumResultStatus.Exception => result.ErrorString,
59+
_ => throw new ArgumentOutOfRangeException()
60+
};
61+
label.Text = message;
62+
}
63+
}
64+
```

0 commit comments

Comments
 (0)