Skip to content

Commit 066defa

Browse files
authored
Merge pull request #334 from dynamsoft-docs/preview
update to internal commit 93d7578a
2 parents 6d50c48 + be21954 commit 066defa

File tree

2 files changed

+20
-40
lines changed

2 files changed

+20
-40
lines changed

programming/objectivec-swift/api-reference/barcode-scanner/enum-result-status.md

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,22 @@ If the status is **finished**, that indicates that the result has been decoded a
2626
```objc
2727
typedef NS_ENUM(NSInteger, DSResultStatus)
2828
{
29-
/**
30-
* The barcode scanning is finished. You can get at least one result from the BarcodeScanResult.
31-
*/
32-
DSResultStatusFinished = 0
33-
/**
34-
* The barcode scanning activity is closed before the process is finished. No results are available.
35-
*/
36-
DSResultStatusCanceled = 1
37-
/**
38-
*Failed to start barcode scanning or an error occurs when scanning the barcodes. No results are available.
39-
*/
40-
DSResultStatusException = 2
29+
/* The barcode scanning is finished. You can get at least one result from the BarcodeScanResult.*/
30+
DSResultStatusFinished = 0
31+
/* The barcode scanning activity is closed before the process is finished. No results are available.*/
32+
DSResultStatusCanceled = 1
33+
/* Failed to start barcode scanning or an error occurs when scanning the barcodes. No results are available.*/
34+
DSResultStatusException = 2
4135
};
4236
```
4337
1.
4438
```swift
4539
@objc public enum ResultStatus: Int {
46-
/**
47-
* The barcode scanning is finished. You can get at least one result from the BarcodeScanResult.
48-
*/
49-
case finished = 0
50-
/**
51-
* The barcode scanning activity is closed before the process is finished. No results are available.
52-
*/
53-
case canceled = 1
54-
/**
55-
* Failed to start barcode scanning or an error occurs when scanning the barcodes. No results are available.
56-
*/
57-
case exception = 2
40+
/* The barcode scanning is finished. You can get at least one result from the BarcodeScanResult.*/
41+
case finished = 0
42+
/* The barcode scanning activity is closed before the process is finished. No results are available.*/
43+
case canceled = 1
44+
/* Failed to start barcode scanning or an error occurs when scanning the barcodes. No results are available.*/
45+
case exception = 2
5846
}
5947
```

programming/objectivec-swift/api-reference/barcode-scanner/enum-scanning-mode.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,18 @@ breadcrumbText: DSScanningMode
2424
```objc
2525
typedef NS_ENUM(NSInteger, DSScanningMode)
2626
{
27-
/**
28-
* The scan mode for scanning single barcode.
29-
*/
30-
DSScanningModeSingle,
31-
/**
32-
* The scan mode for scanning multiple barcodes.
33-
*/
34-
DSScanningModeMultiple
27+
/* The scan mode for scanning single barcode.*/
28+
DSScanningModeSingle,
29+
/* The scan mode for scanning multiple barcodes.*/
30+
DSScanningModeMultiple
3531
};
3632
```
3733
2.
3834
```swift
3935
@objc public enum ScanningMode: Int {
40-
/**
41-
* The scan mode for scanning single barcode.
42-
*/
43-
case single
44-
/**
45-
* The scan mode for scanning multiple barcodes.
46-
*/
47-
case multiple
36+
/* The scan mode for scanning single barcode.*/
37+
case single
38+
/* The scan mode for scanning multiple barcodes.*/
39+
case multiple
4840
}
4941
```

0 commit comments

Comments
 (0)