barkoder-nativescript 1.5.6 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/barkoder-nativescript.android.ts +93 -4
  2. package/barkoder-nativescript.common.ts +14 -3
  3. package/barkoder-nativescript.ios.ts +86 -2
  4. package/package.json +1 -1
  5. package/platforms/android/barkoder.aar +0 -0
  6. package/platforms/android/barkoder_nativescript.aar +0 -0
  7. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Barkoder +0 -0
  8. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/iBarkoder.h +42 -10
  9. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
  10. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/default.metallib +0 -0
  11. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
  12. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
  13. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +88 -0
  14. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/model.mil +753 -0
  15. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
  16. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
  17. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
  18. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +88 -0
  19. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +753 -0
  20. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
  21. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrz.traineddata +0 -0
  22. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrzfast.traineddata +0 -0
  23. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder +0 -0
  24. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Headers/iBarkoder.h +42 -10
  25. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Info.plist +0 -0
  26. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +17 -17
  27. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/default.metallib +0 -0
  28. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
  29. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
  30. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +88 -0
  31. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/model.mil +753 -0
  32. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
  33. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
  34. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
  35. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +88 -0
  36. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +753 -0
  37. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
  38. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrz.traineddata +0 -0
  39. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrzfast.traineddata +0 -0
  40. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/BarkoderSDK +0 -0
  41. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +36 -5
  42. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Info.plist +0 -0
  43. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.abi.json +904 -126
  44. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +24 -3
  45. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  46. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +24 -3
  47. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/beep.mp3 +0 -0
  48. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +123 -15
  49. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/BarkoderSDK +0 -0
  50. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +72 -10
  51. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Info.plist +0 -0
  52. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +904 -126
  53. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +24 -3
  54. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  55. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +24 -3
  56. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +904 -126
  57. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +24 -3
  58. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  59. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +24 -3
  60. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +27 -27
  61. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/beep.mp3 +0 -0
  62. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +123 -15
@@ -1,5 +1,5 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
2
+ // swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
3
3
  // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
5
  import AVFoundation
@@ -28,6 +28,22 @@ import _SwiftConcurrencyShims
28
28
  @objc get
29
29
  @objc set
30
30
  }
31
+ @objc public var scanningIndicatorColor: UIKit.UIColor {
32
+ @objc get
33
+ @objc set
34
+ }
35
+ @objc public var scanningIndicatorWidth: Swift.Float {
36
+ @objc get
37
+ @objc set
38
+ }
39
+ @objc public var scanningIndicatorAnimation: Swift.Int {
40
+ @objc get
41
+ @objc set
42
+ }
43
+ @objc public var scanningIndicatorAlwaysVisible: Swift.Bool {
44
+ @objc get
45
+ @objc set
46
+ }
31
47
  @objc public var regionOfInterestVisible: Swift.Bool {
32
48
  @objc get
33
49
  @objc set
@@ -68,8 +84,9 @@ extension UIKit.UIImage {
68
84
  }
69
85
  @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
70
86
  @objc public enum BarkoderResolution : Swift.Int {
71
- case normal
72
- case high
87
+ case HD
88
+ case FHD
89
+ case UHD
73
90
  public init?(rawValue: Swift.Int)
74
91
  public typealias RawValue = Swift.Int
75
92
  public var rawValue: Swift.Int {
@@ -91,6 +108,9 @@ extension UIKit.UIImage {
91
108
  @objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
92
109
  @objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
93
110
  @objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
111
+ @objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
112
+ @objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
113
+ @objc @_Concurrency.MainActor @preconcurrency public func setVideoStabilization(_ enabled: Swift.Bool)
94
114
  @_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
95
115
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
96
116
  @objc deinit
@@ -122,6 +142,7 @@ extension CoreFoundation.CGRect {
122
142
  case all_1d
123
143
  case mrz
124
144
  case gallery_scan
145
+ case composite
125
146
  public init?(rawValue: Swift.Int)
126
147
  public typealias RawValue = Swift.Int
127
148
  public var rawValue: Swift.Int {
@@ -1,5 +1,5 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
2
+ // swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
3
3
  // swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name BarkoderSDK
4
4
  // swift-module-flags-ignorable: -no-verify-emitted-module-interface
5
5
  import AVFoundation
@@ -28,6 +28,22 @@ import _SwiftConcurrencyShims
28
28
  @objc get
29
29
  @objc set
30
30
  }
31
+ @objc public var scanningIndicatorColor: UIKit.UIColor {
32
+ @objc get
33
+ @objc set
34
+ }
35
+ @objc public var scanningIndicatorWidth: Swift.Float {
36
+ @objc get
37
+ @objc set
38
+ }
39
+ @objc public var scanningIndicatorAnimation: Swift.Int {
40
+ @objc get
41
+ @objc set
42
+ }
43
+ @objc public var scanningIndicatorAlwaysVisible: Swift.Bool {
44
+ @objc get
45
+ @objc set
46
+ }
31
47
  @objc public var regionOfInterestVisible: Swift.Bool {
32
48
  @objc get
33
49
  @objc set
@@ -68,8 +84,9 @@ extension UIKit.UIImage {
68
84
  }
69
85
  @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
70
86
  @objc public enum BarkoderResolution : Swift.Int {
71
- case normal
72
- case high
87
+ case HD
88
+ case FHD
89
+ case UHD
73
90
  public init?(rawValue: Swift.Int)
74
91
  public typealias RawValue = Swift.Int
75
92
  public var rawValue: Swift.Int {
@@ -91,6 +108,9 @@ extension UIKit.UIImage {
91
108
  @objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
92
109
  @objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
93
110
  @objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
111
+ @objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
112
+ @objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
113
+ @objc @_Concurrency.MainActor @preconcurrency public func setVideoStabilization(_ enabled: Swift.Bool)
94
114
  @_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
95
115
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
96
116
  @objc deinit
@@ -122,6 +142,7 @@ extension CoreFoundation.CGRect {
122
142
  case all_1d
123
143
  case mrz
124
144
  case gallery_scan
145
+ case composite
125
146
  public init?(rawValue: Swift.Int)
126
147
  public typealias RawValue = Swift.Int
127
148
  public var rawValue: Swift.Int {
@@ -111,6 +111,15 @@
111
111
  "minimumLength": 0,
112
112
  "maximumLength": 0
113
113
  },
114
+ "Databar 14": {
115
+ "enabled": true
116
+ },
117
+ "Databar Limited": {
118
+ "enabled": true
119
+ },
120
+ "Databar Expanded": {
121
+ "enabled": true
122
+ },
114
123
  "general": {
115
124
  "maxThreads": 2,
116
125
  "decodingSpeed": 1,
@@ -126,11 +135,12 @@
126
135
  "enableMisshaped1D": false,
127
136
  "upcEanDeblur": false,
128
137
  "enableVINRestrictions": false,
129
- "thresholdBetweenDuplicatesScans": 5
138
+ "thresholdBetweenDuplicatesScans": 5,
139
+ "enableComposite": 0
130
140
  }
131
141
  },
132
142
  "locationLineColor": -65536,
133
- "locationLineWidth": 4,
143
+ "locationLineWidth": 2,
134
144
  "roiLineColor": -65536,
135
145
  "roiLineWidth": 3,
136
146
  "roiOverlayBackgroundColor": 1711276032,
@@ -171,7 +181,7 @@
171
181
  }
172
182
  },
173
183
  "locationLineColor": -65536,
174
- "locationLineWidth": 4,
184
+ "locationLineWidth": 2,
175
185
  "roiLineColor": -65536,
176
186
  "roiLineWidth": 3,
177
187
  "roiOverlayBackgroundColor": 1711276032,
@@ -212,7 +222,7 @@
212
222
  }
213
223
  },
214
224
  "locationLineColor": -65536,
215
- "locationLineWidth": 4,
225
+ "locationLineWidth": 2,
216
226
  "roiLineColor": -65536,
217
227
  "roiLineWidth": 3,
218
228
  "roiOverlayBackgroundColor": 1711276032,
@@ -240,6 +250,15 @@
240
250
  "Ean-8": {
241
251
  "enabled": true
242
252
  },
253
+ "Databar 14": {
254
+ "enabled": true
255
+ },
256
+ "Databar Limited": {
257
+ "enabled": false
258
+ },
259
+ "Databar Expanded": {
260
+ "enabled": false
261
+ },
243
262
  "general": {
244
263
  "maxThreads": 2,
245
264
  "decodingSpeed": 2,
@@ -259,7 +278,7 @@
259
278
  }
260
279
  },
261
280
  "locationLineColor": -65536,
262
- "locationLineWidth": 4,
281
+ "locationLineWidth": 2,
263
282
  "roiLineColor": -65536,
264
283
  "roiLineWidth": 3,
265
284
  "roiOverlayBackgroundColor": 1711276032,
@@ -322,6 +341,15 @@
322
341
  "minimumLength": 0,
323
342
  "maximumLength": 0
324
343
  },
344
+ "Databar 14": {
345
+ "enabled": true
346
+ },
347
+ "Databar Limited": {
348
+ "enabled": true
349
+ },
350
+ "Databar Expanded": {
351
+ "enabled": true
352
+ },
325
353
  "general": {
326
354
  "maxThreads": 2,
327
355
  "decodingSpeed": 2,
@@ -341,7 +369,7 @@
341
369
  }
342
370
  },
343
371
  "locationLineColor": -65536,
344
- "locationLineWidth": 4,
372
+ "locationLineWidth": 2,
345
373
  "roiLineColor": -65536,
346
374
  "roiLineWidth": 3,
347
375
  "roiOverlayBackgroundColor": 1711276032,
@@ -392,7 +420,7 @@
392
420
  }
393
421
  },
394
422
  "locationLineColor": -65536,
395
- "locationLineWidth": 4,
423
+ "locationLineWidth": 2,
396
424
  "roiLineColor": -65536,
397
425
  "roiLineWidth": 3,
398
426
  "roiOverlayBackgroundColor": 1711276032,
@@ -439,7 +467,7 @@
439
467
  }
440
468
  },
441
469
  "locationLineColor": -65536,
442
- "locationLineWidth": 4,
470
+ "locationLineWidth": 2,
443
471
  "roiLineColor": -65536,
444
472
  "roiLineWidth": 3,
445
473
  "roiOverlayBackgroundColor": 1711276032,
@@ -492,11 +520,11 @@
492
520
  }
493
521
  },
494
522
  "locationLineColor": -65536,
495
- "locationLineWidth": 4,
523
+ "locationLineWidth": 2,
496
524
  "roiLineColor": -65536,
497
525
  "roiLineWidth": 3,
498
526
  "roiOverlayBackgroundColor": 1711276032,
499
- "closeSessionOnResultEnabled": false,
527
+ "closeSessionOnResultEnabled": true,
500
528
  "imageResultEnabled": false,
501
529
  "locationInImageResultEnabled": false,
502
530
  "locationInPreviewEnabled": true,
@@ -530,7 +558,7 @@
530
558
  }
531
559
  },
532
560
  "locationLineColor": -65536,
533
- "locationLineWidth": 4,
561
+ "locationLineWidth": 2,
534
562
  "roiLineColor": -65536,
535
563
  "roiLineWidth": 3,
536
564
  "roiOverlayBackgroundColor": 1711276032,
@@ -643,6 +671,15 @@
643
671
  "minimumLength": 0,
644
672
  "maximumLength": 0
645
673
  },
674
+ "Databar 14": {
675
+ "enabled": true
676
+ },
677
+ "Databar Limited": {
678
+ "enabled": true
679
+ },
680
+ "Databar Expanded": {
681
+ "enabled": true
682
+ },
646
683
  "general": {
647
684
  "maxThreads": 2,
648
685
  "decodingSpeed": 2,
@@ -662,7 +699,7 @@
662
699
  }
663
700
  },
664
701
  "locationLineColor": -65536,
665
- "locationLineWidth": 4,
702
+ "locationLineWidth": 2,
666
703
  "roiLineColor": -65536,
667
704
  "roiLineWidth": 3,
668
705
  "roiOverlayBackgroundColor": 1711276032,
@@ -701,7 +738,7 @@
701
738
  }
702
739
  },
703
740
  "locationLineColor": -65536,
704
- "locationLineWidth": 4,
741
+ "locationLineWidth": 2,
705
742
  "roiLineColor": -65536,
706
743
  "roiLineWidth": 3,
707
744
  "roiOverlayBackgroundColor": 1711276032,
@@ -863,6 +900,77 @@
863
900
  "beepOnSuccessEnabled": true,
864
901
  "vibrateOnSuccessEnabled": false,
865
902
  "locationInImageResultEnabled": true,
866
- "locationLineWidth": 7
867
- }
903
+ "locationLineWidth": 8
904
+ },
905
+ "composite": {
906
+ "decoder": {
907
+ "Upc-A": {
908
+ "enabled": true
909
+ },
910
+ "Upc-E": {
911
+ "enabled": true
912
+ },
913
+ "Upc-E1": {
914
+ "enabled": false
915
+ },
916
+ "Ean-13": {
917
+ "enabled": true
918
+ },
919
+ "Ean-8": {
920
+ "enabled": true
921
+ },
922
+ "Code 128": {
923
+ "enabled": true,
924
+ "minimumLength": 0,
925
+ "maximumLength": 0
926
+ },
927
+ "PDF 417": {
928
+ "enabled": true
929
+ },
930
+ "PDF 417 Micro": {
931
+ "enabled": true
932
+ },
933
+ "Databar 14": {
934
+ "enabled": true
935
+ },
936
+ "Databar Limited": {
937
+ "enabled": true
938
+ },
939
+ "Databar Expanded": {
940
+ "enabled": true
941
+ },
942
+ "general": {
943
+ "maxThreads": 2,
944
+ "decodingSpeed": 2,
945
+ "roi_x": 0,
946
+ "roi_y": 0,
947
+ "roi_w": 100,
948
+ "roi_h": 100,
949
+ "formattingType": 2,
950
+ "duplicatesDelayMs": 0,
951
+ "encodingCharacterSet": "",
952
+ "multicodeCachingEnabled": true,
953
+ "multicodeCachingDuration": 1000,
954
+ "enableMisshaped1D": false,
955
+ "upcEanDeblur": true,
956
+ "enableVINRestrictions": false,
957
+ "thresholdBetweenDuplicatesScans": 5,
958
+ "enableComposite": 1
959
+ }
960
+ },
961
+ "locationLineColor": -65536,
962
+ "locationLineWidth": 2,
963
+ "roiLineColor": -65536,
964
+ "roiLineWidth": 3,
965
+ "roiOverlayBackgroundColor": 1711276032,
966
+ "closeSessionOnResultEnabled": true,
967
+ "imageResultEnabled": false,
968
+ "locationInImageResultEnabled": false,
969
+ "locationInPreviewEnabled": true,
970
+ "pinchToZoomEnabled": false,
971
+ "regionOfInterestVisible": false,
972
+ "barkoderResolution": 1,
973
+ "beepOnSuccessEnabled": true,
974
+ "vibrateOnSuccessEnabled": false
975
+ },
868
976
  }
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
3
+ // Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
4
4
  #ifndef BARKODERSDK_SWIFT_H
5
5
  #define BARKODERSDK_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -323,6 +323,20 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
323
323
  @property (nonatomic) float roiLineWidth;
324
324
  /// Retrieves/Sets the background color of the overlay within the Region of Interest (ROI) for barcode scanning on the camera feed
325
325
  @property (nonatomic, strong) UIColor * _Nonnull roiOverlayBackgroundColor;
326
+ /// Retrieves/Sets the color of the scanning indicator for barcode scanning on the camera feed
327
+ @property (nonatomic, strong) UIColor * _Nonnull scanningIndicatorColor;
328
+ /// Retrieves/Sets the width of the scanning indicator for barcode scanning on the camera feed
329
+ /// note:
330
+ /// Default value is 2.0
331
+ @property (nonatomic) float scanningIndicatorWidth;
332
+ /// Retrieves/Sets the animation of the scanning indicator for barcode scanning on the camera feed
333
+ /// note:
334
+ /// Default value is 0
335
+ @property (nonatomic) NSInteger scanningIndicatorAnimation;
336
+ /// Retrieves/Sets the scanning indicator to be always shown for barcode scanning on the camera feed
337
+ /// note:
338
+ /// Default value is false
339
+ @property (nonatomic) BOOL scanningIndicatorAlwaysVisible;
326
340
  /// Retrieves/Sets the visibility of the Region of Interest (ROI) on the camera preview
327
341
  /// note:
328
342
  /// Default value is true
@@ -365,7 +379,7 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
365
379
  @property (nonatomic, strong) Config * _Nullable decoderConfig;
366
380
  /// Retrieve/Sets the resolution for barcode scanning
367
381
  /// note:
368
- /// Default value is BarkoderView.BarkoderResolution.normal
382
+ /// Default value is BarkoderView.BarkoderResolution.HD
369
383
  @property (nonatomic) enum BarkoderResolution barkoderResolution;
370
384
  /// Retrieve/Sets whether to enable barcode thumbnail on result
371
385
  /// note:
@@ -472,6 +486,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
472
486
  BarkoderConfigTemplateAll_1d = 9,
473
487
  BarkoderConfigTemplateMrz = 10,
474
488
  BarkoderConfigTemplateGallery_scan = 11,
489
+ BarkoderConfigTemplateComposite = 12,
475
490
  };
476
491
 
477
492
 
@@ -489,7 +504,6 @@ SWIFT_PROTOCOL("_TtP11BarkoderSDK29BarkoderPreviewFramesDelegate_")
489
504
  - (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
490
505
  @end
491
506
 
492
- @class DecoderResult;
493
507
 
494
508
  SWIFT_PROTOCOL("_TtP11BarkoderSDK22BarkoderResultDelegate_")
495
509
  @protocol BarkoderResultDelegate
@@ -526,13 +540,30 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
526
540
  - (void)getMaxZoomFactor:(void (^ _Nonnull)(float))completion;
527
541
  /// Checks whether the device has a built-in flash (torch) that can be used for illumination during barcode scanning
528
542
  - (void)isFlashAvailable:(void (^ _Nonnull)(BOOL))completion;
543
+ /// Adjusts the camera’s exposure dynamically based on the provided intensity, cycling through predefined compensation values.
544
+ /// \param intensity A value between 0 and 10, where 0 disables dynamic exposure. Default value is 0
545
+ ///
546
+ - (void)setDynamicExposure:(NSInteger)intensity;
547
+ /// Configures the camera to use the center of the viewfinder for focus and exposure, enabling or disabling centric adjustments.
548
+ /// \param enabled [true, false]. Default value is false.
549
+ ///
550
+ - (void)setCentricFocusAndExposure:(BOOL)enabled;
551
+ /// Configures the camera to use video stabilization.
552
+ /// \param enabled [true, false]. Default value is false.
553
+ ///
554
+ - (void)setVideoStabilization:(BOOL)enabled;
529
555
  - (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
530
556
  - (void)layoutSubviews;
531
557
  @end
532
558
 
559
+ /// Represents the resolution settings for the BarkoderView.
533
560
  typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
534
- BarkoderResolutionNormal = 0,
535
- BarkoderResolutionHigh = 1,
561
+ /// High Definition resolution (1280x720).
562
+ BarkoderResolutionHD = 0,
563
+ /// Full High Definition resolution (1920x1080).
564
+ BarkoderResolutionFHD = 1,
565
+ /// Ultra High (4K) Definition resolution (3840x2160).
566
+ BarkoderResolutionUHD = 2,
536
567
  };
537
568
 
538
569
 
@@ -554,7 +585,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
554
585
  #endif
555
586
 
556
587
  #elif defined(__x86_64__) && __x86_64__
557
- // Generated by Apple Swift version 6.0.2 effective-5.10 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
588
+ // Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
558
589
  #ifndef BARKODERSDK_SWIFT_H
559
590
  #define BARKODERSDK_SWIFT_H
560
591
  #pragma clang diagnostic push
@@ -877,6 +908,20 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
877
908
  @property (nonatomic) float roiLineWidth;
878
909
  /// Retrieves/Sets the background color of the overlay within the Region of Interest (ROI) for barcode scanning on the camera feed
879
910
  @property (nonatomic, strong) UIColor * _Nonnull roiOverlayBackgroundColor;
911
+ /// Retrieves/Sets the color of the scanning indicator for barcode scanning on the camera feed
912
+ @property (nonatomic, strong) UIColor * _Nonnull scanningIndicatorColor;
913
+ /// Retrieves/Sets the width of the scanning indicator for barcode scanning on the camera feed
914
+ /// note:
915
+ /// Default value is 2.0
916
+ @property (nonatomic) float scanningIndicatorWidth;
917
+ /// Retrieves/Sets the animation of the scanning indicator for barcode scanning on the camera feed
918
+ /// note:
919
+ /// Default value is 0
920
+ @property (nonatomic) NSInteger scanningIndicatorAnimation;
921
+ /// Retrieves/Sets the scanning indicator to be always shown for barcode scanning on the camera feed
922
+ /// note:
923
+ /// Default value is false
924
+ @property (nonatomic) BOOL scanningIndicatorAlwaysVisible;
880
925
  /// Retrieves/Sets the visibility of the Region of Interest (ROI) on the camera preview
881
926
  /// note:
882
927
  /// Default value is true
@@ -919,7 +964,7 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
919
964
  @property (nonatomic, strong) Config * _Nullable decoderConfig;
920
965
  /// Retrieve/Sets the resolution for barcode scanning
921
966
  /// note:
922
- /// Default value is BarkoderView.BarkoderResolution.normal
967
+ /// Default value is BarkoderView.BarkoderResolution.HD
923
968
  @property (nonatomic) enum BarkoderResolution barkoderResolution;
924
969
  /// Retrieve/Sets whether to enable barcode thumbnail on result
925
970
  /// note:
@@ -1026,6 +1071,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
1026
1071
  BarkoderConfigTemplateAll_1d = 9,
1027
1072
  BarkoderConfigTemplateMrz = 10,
1028
1073
  BarkoderConfigTemplateGallery_scan = 11,
1074
+ BarkoderConfigTemplateComposite = 12,
1029
1075
  };
1030
1076
 
1031
1077
 
@@ -1043,7 +1089,6 @@ SWIFT_PROTOCOL("_TtP11BarkoderSDK29BarkoderPreviewFramesDelegate_")
1043
1089
  - (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
1044
1090
  @end
1045
1091
 
1046
- @class DecoderResult;
1047
1092
 
1048
1093
  SWIFT_PROTOCOL("_TtP11BarkoderSDK22BarkoderResultDelegate_")
1049
1094
  @protocol BarkoderResultDelegate
@@ -1080,13 +1125,30 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
1080
1125
  - (void)getMaxZoomFactor:(void (^ _Nonnull)(float))completion;
1081
1126
  /// Checks whether the device has a built-in flash (torch) that can be used for illumination during barcode scanning
1082
1127
  - (void)isFlashAvailable:(void (^ _Nonnull)(BOOL))completion;
1128
+ /// Adjusts the camera’s exposure dynamically based on the provided intensity, cycling through predefined compensation values.
1129
+ /// \param intensity A value between 0 and 10, where 0 disables dynamic exposure. Default value is 0
1130
+ ///
1131
+ - (void)setDynamicExposure:(NSInteger)intensity;
1132
+ /// Configures the camera to use the center of the viewfinder for focus and exposure, enabling or disabling centric adjustments.
1133
+ /// \param enabled [true, false]. Default value is false.
1134
+ ///
1135
+ - (void)setCentricFocusAndExposure:(BOOL)enabled;
1136
+ /// Configures the camera to use video stabilization.
1137
+ /// \param enabled [true, false]. Default value is false.
1138
+ ///
1139
+ - (void)setVideoStabilization:(BOOL)enabled;
1083
1140
  - (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
1084
1141
  - (void)layoutSubviews;
1085
1142
  @end
1086
1143
 
1144
+ /// Represents the resolution settings for the BarkoderView.
1087
1145
  typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
1088
- BarkoderResolutionNormal = 0,
1089
- BarkoderResolutionHigh = 1,
1146
+ /// High Definition resolution (1280x720).
1147
+ BarkoderResolutionHD = 0,
1148
+ /// Full High Definition resolution (1920x1080).
1149
+ BarkoderResolutionFHD = 1,
1150
+ /// Ultra High (4K) Definition resolution (3840x2160).
1151
+ BarkoderResolutionUHD = 2,
1090
1152
  };
1091
1153
 
1092
1154