barkoder-nativescript 1.3.1 → 1.5.2
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.
- package/README.md +115 -0
- package/barkoder-nativescript.android.ts +6 -0
- package/barkoder-nativescript.common.ts +4 -1
- package/barkoder-nativescript.ios.ts +7 -1
- package/package.json +1 -1
- package/platforms/android/barkoder.aar +0 -0
- package/platforms/ios/Barkoder.xcframework/Info.plist +5 -5
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/iBarkoder.h +103 -14
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/default.metallib +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +85 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +85 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrz.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrzfast.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Headers/iBarkoder.h +103 -14
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +137 -5
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/default.metallib +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +85 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +85 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrz.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrzfast.traineddata +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/Info.plist +5 -5
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +8 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.abi.json +759 -3134
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +20 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +20 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +203 -17
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +16 -6
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +759 -3134
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +20 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +20 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +759 -3134
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +20 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +20 -18
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +25 -85
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +203 -17
- package/typings/ios/objc!Barkoder.d.ts +11 -1
- package/platforms/android/README.md +0 -9
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-
|
|
4
|
-
// swift-module-flags-ignorable: -
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
|
|
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
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Barkoder
|
|
7
7
|
@_exported import BarkoderSDK
|
|
@@ -66,7 +66,7 @@ extension UIKit.UIImage {
|
|
|
66
66
|
@objc public protocol BarkoderPerformanceDelegate {
|
|
67
67
|
@objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
|
|
68
68
|
}
|
|
69
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor
|
|
69
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
|
|
70
70
|
@objc public enum BarkoderResolution : Swift.Int {
|
|
71
71
|
case normal
|
|
72
72
|
case high
|
|
@@ -76,23 +76,23 @@ extension UIKit.UIImage {
|
|
|
76
76
|
get
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
@objc @_Concurrency.MainActor
|
|
79
|
+
@objc @_Concurrency.MainActor @preconcurrency public var config: BarkoderSDK.BarkoderConfig? {
|
|
80
80
|
@objc get
|
|
81
81
|
@objc set
|
|
82
82
|
}
|
|
83
|
-
@_Concurrency.MainActor
|
|
84
|
-
@objc @_Concurrency.MainActor
|
|
85
|
-
@objc @_Concurrency.MainActor
|
|
86
|
-
@objc @_Concurrency.MainActor
|
|
87
|
-
@objc @_Concurrency.MainActor
|
|
88
|
-
@objc @_Concurrency.MainActor
|
|
89
|
-
@objc @_Concurrency.MainActor
|
|
90
|
-
@objc @_Concurrency.MainActor
|
|
91
|
-
@objc @_Concurrency.MainActor
|
|
92
|
-
@objc @_Concurrency.MainActor
|
|
93
|
-
@objc @_Concurrency.MainActor
|
|
94
|
-
@_Concurrency.MainActor
|
|
95
|
-
@_Concurrency.MainActor
|
|
83
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
84
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startCamera()
|
|
85
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
86
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
87
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
88
|
+
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
89
|
+
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
90
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
91
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
92
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
93
|
+
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
94
|
+
@_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
95
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
96
96
|
@objc deinit
|
|
97
97
|
}
|
|
98
98
|
extension CoreFoundation.CGRect {
|
|
@@ -119,6 +119,8 @@ extension CoreFoundation.CGRect {
|
|
|
119
119
|
case vin
|
|
120
120
|
case dotcode
|
|
121
121
|
case all_1d
|
|
122
|
+
case mrz
|
|
123
|
+
case gallery_scan
|
|
122
124
|
public init?(rawValue: Swift.Int)
|
|
123
125
|
public typealias RawValue = Swift.Int
|
|
124
126
|
public var rawValue: Swift.Int {
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-
|
|
4
|
-
// swift-module-flags-ignorable: -
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
|
|
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
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Barkoder
|
|
7
7
|
@_exported import BarkoderSDK
|
|
@@ -66,7 +66,7 @@ extension UIKit.UIImage {
|
|
|
66
66
|
@objc public protocol BarkoderPerformanceDelegate {
|
|
67
67
|
@objc optional func performanceReceived(fps: Swift.Float, dps: Swift.Float)
|
|
68
68
|
}
|
|
69
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor
|
|
69
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency public class BarkoderView : UIKit.UIView, BarkoderSDK.BarkoderPreviewFramesDelegate {
|
|
70
70
|
@objc public enum BarkoderResolution : Swift.Int {
|
|
71
71
|
case normal
|
|
72
72
|
case high
|
|
@@ -76,23 +76,23 @@ extension UIKit.UIImage {
|
|
|
76
76
|
get
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
@objc @_Concurrency.MainActor
|
|
79
|
+
@objc @_Concurrency.MainActor @preconcurrency public var config: BarkoderSDK.BarkoderConfig? {
|
|
80
80
|
@objc get
|
|
81
81
|
@objc set
|
|
82
82
|
}
|
|
83
|
-
@_Concurrency.MainActor
|
|
84
|
-
@objc @_Concurrency.MainActor
|
|
85
|
-
@objc @_Concurrency.MainActor
|
|
86
|
-
@objc @_Concurrency.MainActor
|
|
87
|
-
@objc @_Concurrency.MainActor
|
|
88
|
-
@objc @_Concurrency.MainActor
|
|
89
|
-
@objc @_Concurrency.MainActor
|
|
90
|
-
@objc @_Concurrency.MainActor
|
|
91
|
-
@objc @_Concurrency.MainActor
|
|
92
|
-
@objc @_Concurrency.MainActor
|
|
93
|
-
@objc @_Concurrency.MainActor
|
|
94
|
-
@_Concurrency.MainActor
|
|
95
|
-
@_Concurrency.MainActor
|
|
83
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
84
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startCamera()
|
|
85
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
86
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
87
|
+
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
88
|
+
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
89
|
+
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
90
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
91
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
92
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
93
|
+
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
94
|
+
@_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
95
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
96
96
|
@objc deinit
|
|
97
97
|
}
|
|
98
98
|
extension CoreFoundation.CGRect {
|
|
@@ -119,6 +119,8 @@ extension CoreFoundation.CGRect {
|
|
|
119
119
|
case vin
|
|
120
120
|
case dotcode
|
|
121
121
|
case all_1d
|
|
122
|
+
case mrz
|
|
123
|
+
case gallery_scan
|
|
122
124
|
public init?(rawValue: Swift.Int)
|
|
123
125
|
public typealias RawValue = Swift.Int
|
|
124
126
|
public var rawValue: Swift.Int {
|
package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json
CHANGED
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"regionOfInterestVisible": false,
|
|
143
143
|
"barkoderResolution": 0,
|
|
144
144
|
"beepOnSuccessEnabled": true,
|
|
145
|
-
"vibrateOnSuccessEnabled":
|
|
145
|
+
"vibrateOnSuccessEnabled": false
|
|
146
146
|
},
|
|
147
147
|
"pdf_optimized": {
|
|
148
148
|
"decoder": {
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"regionOfInterestVisible": false,
|
|
184
184
|
"barkoderResolution": 1,
|
|
185
185
|
"beepOnSuccessEnabled": true,
|
|
186
|
-
"vibrateOnSuccessEnabled":
|
|
186
|
+
"vibrateOnSuccessEnabled": false
|
|
187
187
|
},
|
|
188
188
|
"qr": {
|
|
189
189
|
"decoder": {
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"regionOfInterestVisible": false,
|
|
225
225
|
"barkoderResolution": 1,
|
|
226
226
|
"beepOnSuccessEnabled": true,
|
|
227
|
-
"vibrateOnSuccessEnabled":
|
|
227
|
+
"vibrateOnSuccessEnabled": false
|
|
228
228
|
},
|
|
229
229
|
"retail_1d": {
|
|
230
230
|
"decoder": {
|
|
@@ -252,8 +252,8 @@
|
|
|
252
252
|
"encodingCharacterSet": "",
|
|
253
253
|
"multicodeCachingEnabled": true,
|
|
254
254
|
"multicodeCachingDuration": 1000,
|
|
255
|
-
"enableMisshaped1D":
|
|
256
|
-
"upcEanDeblur":
|
|
255
|
+
"enableMisshaped1D": false,
|
|
256
|
+
"upcEanDeblur": true,
|
|
257
257
|
"enableVINRestrictions": false,
|
|
258
258
|
"thresholdBetweenDuplicatesScans": 5
|
|
259
259
|
}
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
"regionOfInterestVisible": false,
|
|
272
272
|
"barkoderResolution": 1,
|
|
273
273
|
"beepOnSuccessEnabled": true,
|
|
274
|
-
"vibrateOnSuccessEnabled":
|
|
274
|
+
"vibrateOnSuccessEnabled": false
|
|
275
275
|
},
|
|
276
276
|
"industrial_1d": {
|
|
277
277
|
"decoder": {
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
"multicodeCachingEnabled": true,
|
|
336
336
|
"multicodeCachingDuration": 1000,
|
|
337
337
|
"enableMisshaped1D": false,
|
|
338
|
-
"upcEanDeblur":
|
|
338
|
+
"upcEanDeblur": true,
|
|
339
339
|
"enableVINRestrictions": false,
|
|
340
340
|
"thresholdBetweenDuplicatesScans": 5
|
|
341
341
|
}
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
"regionOfInterestVisible": false,
|
|
354
354
|
"barkoderResolution": 1,
|
|
355
355
|
"beepOnSuccessEnabled": true,
|
|
356
|
-
"vibrateOnSuccessEnabled":
|
|
356
|
+
"vibrateOnSuccessEnabled": false
|
|
357
357
|
},
|
|
358
358
|
"all_2d": {
|
|
359
359
|
"decoder": {
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"regionOfInterestVisible": false,
|
|
405
405
|
"barkoderResolution": 1,
|
|
406
406
|
"beepOnSuccessEnabled": true,
|
|
407
|
-
"vibrateOnSuccessEnabled":
|
|
407
|
+
"vibrateOnSuccessEnabled": false
|
|
408
408
|
},
|
|
409
409
|
"dpm": {
|
|
410
410
|
"decoder": {
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
"regionOfInterestVisible": false,
|
|
444
444
|
"barkoderResolution": 1,
|
|
445
445
|
"beepOnSuccessEnabled": true,
|
|
446
|
-
"vibrateOnSuccessEnabled":
|
|
446
|
+
"vibrateOnSuccessEnabled": false
|
|
447
447
|
},
|
|
448
448
|
"vin": {
|
|
449
449
|
"decoder": {
|
|
@@ -488,15 +488,15 @@
|
|
|
488
488
|
"roiLineColor": -65536,
|
|
489
489
|
"roiLineWidth": 3,
|
|
490
490
|
"roiOverlayBackgroundColor": 1711276032,
|
|
491
|
-
"closeSessionOnResultEnabled":
|
|
491
|
+
"closeSessionOnResultEnabled": false,
|
|
492
492
|
"imageResultEnabled": false,
|
|
493
493
|
"locationInImageResultEnabled": false,
|
|
494
494
|
"locationInPreviewEnabled": true,
|
|
495
495
|
"pinchToZoomEnabled": false,
|
|
496
|
-
"regionOfInterestVisible":
|
|
496
|
+
"regionOfInterestVisible": true,
|
|
497
497
|
"barkoderResolution": 1,
|
|
498
498
|
"beepOnSuccessEnabled": true,
|
|
499
|
-
"vibrateOnSuccessEnabled":
|
|
499
|
+
"vibrateOnSuccessEnabled": false
|
|
500
500
|
},
|
|
501
501
|
"dotcode": {
|
|
502
502
|
"decoder": {
|
|
@@ -534,12 +534,12 @@
|
|
|
534
534
|
"regionOfInterestVisible": false,
|
|
535
535
|
"barkoderResolution": 1,
|
|
536
536
|
"beepOnSuccessEnabled": true,
|
|
537
|
-
"vibrateOnSuccessEnabled":
|
|
537
|
+
"vibrateOnSuccessEnabled": false
|
|
538
538
|
},
|
|
539
539
|
"all_1d": {
|
|
540
540
|
"decoder": {
|
|
541
541
|
"Code 128": {
|
|
542
|
-
"enabled":
|
|
542
|
+
"enabled": true,
|
|
543
543
|
"minimumLength": 0,
|
|
544
544
|
"maximumLength": 0
|
|
545
545
|
},
|
|
@@ -666,6 +666,192 @@
|
|
|
666
666
|
"regionOfInterestVisible": false,
|
|
667
667
|
"barkoderResolution": 1,
|
|
668
668
|
"beepOnSuccessEnabled": true,
|
|
669
|
-
"vibrateOnSuccessEnabled":
|
|
670
|
-
}
|
|
669
|
+
"vibrateOnSuccessEnabled": false
|
|
670
|
+
},
|
|
671
|
+
"mrz": {
|
|
672
|
+
"decoder": {
|
|
673
|
+
"ID Document": {
|
|
674
|
+
"enabled": true
|
|
675
|
+
},
|
|
676
|
+
"general": {
|
|
677
|
+
"maxThreads": 2,
|
|
678
|
+
"decodingSpeed": 1,
|
|
679
|
+
"roi_x": 0,
|
|
680
|
+
"roi_y": 0,
|
|
681
|
+
"roi_w": 100,
|
|
682
|
+
"roi_h": 100,
|
|
683
|
+
"formattingType": 0,
|
|
684
|
+
"duplicatesDelayMs": 0,
|
|
685
|
+
"encodingCharacterSet": "",
|
|
686
|
+
"multicodeCachingEnabled": true,
|
|
687
|
+
"multicodeCachingDuration": 1000,
|
|
688
|
+
"enableMisshaped1D": false,
|
|
689
|
+
"upcEanDeblur": false,
|
|
690
|
+
"enableVINRestrictions": false,
|
|
691
|
+
"thresholdBetweenDuplicatesScans": 5
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"locationLineColor": -65536,
|
|
695
|
+
"locationLineWidth": 4,
|
|
696
|
+
"roiLineColor": -65536,
|
|
697
|
+
"roiLineWidth": 3,
|
|
698
|
+
"roiOverlayBackgroundColor": 1711276032,
|
|
699
|
+
"closeSessionOnResultEnabled": true,
|
|
700
|
+
"imageResultEnabled": false,
|
|
701
|
+
"locationInImageResultEnabled": false,
|
|
702
|
+
"locationInPreviewEnabled": true,
|
|
703
|
+
"pinchToZoomEnabled": false,
|
|
704
|
+
"regionOfInterestVisible": false,
|
|
705
|
+
"barkoderResolution": 1,
|
|
706
|
+
"beepOnSuccessEnabled": true,
|
|
707
|
+
"vibrateOnSuccessEnabled": false
|
|
708
|
+
},
|
|
709
|
+
"gallery_scan": {
|
|
710
|
+
"decoder": {
|
|
711
|
+
"Aztec": {
|
|
712
|
+
"enabled": true
|
|
713
|
+
},
|
|
714
|
+
"Aztec Compact": {
|
|
715
|
+
"enabled": true
|
|
716
|
+
},
|
|
717
|
+
"QR": {
|
|
718
|
+
"enabled": true
|
|
719
|
+
},
|
|
720
|
+
"QR Micro": {
|
|
721
|
+
"enabled": true
|
|
722
|
+
},
|
|
723
|
+
"Code 128": {
|
|
724
|
+
"enabled": true,
|
|
725
|
+
"minimumLength": 0,
|
|
726
|
+
"maximumLength": 0
|
|
727
|
+
},
|
|
728
|
+
"Code 93": {
|
|
729
|
+
"enabled": true,
|
|
730
|
+
"minimumLength": 0,
|
|
731
|
+
"maximumLength": 0
|
|
732
|
+
},
|
|
733
|
+
"Code 39": {
|
|
734
|
+
"enabled": true,
|
|
735
|
+
"minimumLength": 0,
|
|
736
|
+
"maximumLength": 0,
|
|
737
|
+
"checksum": 0
|
|
738
|
+
},
|
|
739
|
+
"Codabar": {
|
|
740
|
+
"enabled": true,
|
|
741
|
+
"minimumLength": 0,
|
|
742
|
+
"maximumLength": 0
|
|
743
|
+
},
|
|
744
|
+
"Code 11": {
|
|
745
|
+
"enabled": true,
|
|
746
|
+
"minimumLength": 0,
|
|
747
|
+
"maximumLength": 0,
|
|
748
|
+
"checksum": 0
|
|
749
|
+
},
|
|
750
|
+
"MSI": {
|
|
751
|
+
"enabled": true,
|
|
752
|
+
"minimumLength": 4,
|
|
753
|
+
"maximumLength": 0,
|
|
754
|
+
"checksum": 1
|
|
755
|
+
},
|
|
756
|
+
"Upc-A": {
|
|
757
|
+
"enabled": true
|
|
758
|
+
},
|
|
759
|
+
"Upc-E": {
|
|
760
|
+
"enabled": true
|
|
761
|
+
},
|
|
762
|
+
"Upc-E1": {
|
|
763
|
+
"enabled": false
|
|
764
|
+
},
|
|
765
|
+
"Ean-13": {
|
|
766
|
+
"enabled": true
|
|
767
|
+
},
|
|
768
|
+
"Ean-8": {
|
|
769
|
+
"enabled": true
|
|
770
|
+
},
|
|
771
|
+
"PDF 417": {
|
|
772
|
+
"enabled": true
|
|
773
|
+
},
|
|
774
|
+
"PDF 417 Micro": {
|
|
775
|
+
"enabled": true
|
|
776
|
+
},
|
|
777
|
+
"Datamatrix": {
|
|
778
|
+
"enabled": true,
|
|
779
|
+
"dpmMode": 1
|
|
780
|
+
},
|
|
781
|
+
"Code 25": {
|
|
782
|
+
"enabled": true,
|
|
783
|
+
"checksum": 0,
|
|
784
|
+
"minimumLength": 0,
|
|
785
|
+
"maximumLength": 0
|
|
786
|
+
},
|
|
787
|
+
"Interleaved 2 of 5": {
|
|
788
|
+
"enabled": true,
|
|
789
|
+
"checksum": 0,
|
|
790
|
+
"minimumLength": 0,
|
|
791
|
+
"maximumLength": 0
|
|
792
|
+
},
|
|
793
|
+
"ITF 14": {
|
|
794
|
+
"enabled": true
|
|
795
|
+
},
|
|
796
|
+
"IATA 25": {
|
|
797
|
+
"enabled": true,
|
|
798
|
+
"checksum": 0,
|
|
799
|
+
"minimumLength": 0,
|
|
800
|
+
"maximumLength": 0
|
|
801
|
+
},
|
|
802
|
+
"Matrix 25": {
|
|
803
|
+
"enabled": true,
|
|
804
|
+
"checksum": 0,
|
|
805
|
+
"minimumLength": 0,
|
|
806
|
+
"maximumLength": 0
|
|
807
|
+
},
|
|
808
|
+
"Datalogic 25": {
|
|
809
|
+
"enabled": false,
|
|
810
|
+
"checksum": 0,
|
|
811
|
+
"minimumLength": 0,
|
|
812
|
+
"maximumLength": 0
|
|
813
|
+
},
|
|
814
|
+
"COOP 25": {
|
|
815
|
+
"enabled": true,
|
|
816
|
+
"checksum": 0,
|
|
817
|
+
"minimumLength": 0,
|
|
818
|
+
"maximumLength": 0
|
|
819
|
+
},
|
|
820
|
+
"Code 32": {
|
|
821
|
+
"enabled": true,
|
|
822
|
+
"minimumLength": 0,
|
|
823
|
+
"maximumLength": 0
|
|
824
|
+
},
|
|
825
|
+
"Telepen": {
|
|
826
|
+
"enabled": true,
|
|
827
|
+
"minimumLength": 0,
|
|
828
|
+
"maximumLength": 0
|
|
829
|
+
},
|
|
830
|
+
"Dotcode": {
|
|
831
|
+
"enabled": true
|
|
832
|
+
},
|
|
833
|
+
"ID Document": {
|
|
834
|
+
"enabled": true
|
|
835
|
+
},
|
|
836
|
+
"general": {
|
|
837
|
+
"maxThreads": 2,
|
|
838
|
+
"decodingSpeed": 3,
|
|
839
|
+
"roi_x": 0,
|
|
840
|
+
"roi_y": 0,
|
|
841
|
+
"roi_w": 100,
|
|
842
|
+
"roi_h": 100,
|
|
843
|
+
"formattingType": 1,
|
|
844
|
+
"encodingCharacterSet": "",
|
|
845
|
+
"enableMisshaped1D": true,
|
|
846
|
+
"upcEanDeblur": true,
|
|
847
|
+
"enableVINRestrictions": false
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
"closeSessionOnResultEnabled": true,
|
|
851
|
+
"barkoderResolution": 0,
|
|
852
|
+
"beepOnSuccessEnabled": true,
|
|
853
|
+
"vibrateOnSuccessEnabled": false,
|
|
854
|
+
"locationInImageResultEnabled": true,
|
|
855
|
+
"locationLineWidth": 7
|
|
856
|
+
}
|
|
671
857
|
}
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 5.
|
|
3
|
+
// Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
|
|
4
4
|
#ifndef BARKODERSDK_SWIFT_H
|
|
5
5
|
#define BARKODERSDK_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -42,6 +42,8 @@
|
|
|
42
42
|
#include <string.h>
|
|
43
43
|
#endif
|
|
44
44
|
#if defined(__cplusplus)
|
|
45
|
+
#pragma clang diagnostic push
|
|
46
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
45
47
|
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
46
48
|
# include <ptrauth.h>
|
|
47
49
|
#else
|
|
@@ -55,6 +57,7 @@
|
|
|
55
57
|
# endif
|
|
56
58
|
#pragma clang diagnostic pop
|
|
57
59
|
#endif
|
|
60
|
+
#pragma clang diagnostic pop
|
|
58
61
|
#endif
|
|
59
62
|
|
|
60
63
|
#if !defined(SWIFT_TYPEDEFS)
|
|
@@ -294,6 +297,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
294
297
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
295
298
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
296
299
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
300
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
297
301
|
|
|
298
302
|
#if __has_attribute(external_source_symbol)
|
|
299
303
|
# pragma push_macro("any")
|
|
@@ -460,6 +464,8 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
|
|
|
460
464
|
BarkoderConfigTemplateVin = 7,
|
|
461
465
|
BarkoderConfigTemplateDotcode = 8,
|
|
462
466
|
BarkoderConfigTemplateAll_1d = 9,
|
|
467
|
+
BarkoderConfigTemplateMrz = 10,
|
|
468
|
+
BarkoderConfigTemplateGallery_scan = 11,
|
|
463
469
|
};
|
|
464
470
|
|
|
465
471
|
|
|
@@ -498,8 +504,6 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
|
498
504
|
///
|
|
499
505
|
- (void)setBarkoderPerformanceDelegate:(id <BarkoderPerformanceDelegate> _Nullable)delegate;
|
|
500
506
|
/// Initiates the barcode scanning process, allowing the application to detect and decode barcodes from the device’s camera feed
|
|
501
|
-
/// \param enabled [true, false]. Default value is false
|
|
502
|
-
///
|
|
503
507
|
- (BOOL)startScanning:(id <BarkoderResultDelegate> _Nonnull)resultDelegate error:(NSError * _Nullable * _Nullable)error;
|
|
504
508
|
/// Halts the barcode scanning process, stopping the camera from capturing and processing barcode information
|
|
505
509
|
- (void)stopScanning;
|
|
@@ -527,6 +531,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
|
|
|
527
531
|
|
|
528
532
|
|
|
529
533
|
|
|
534
|
+
|
|
530
535
|
@interface iBarkoder (SWIFT_EXTENSION(BarkoderSDK))
|
|
531
536
|
/// Retrieves the version of the Barkoder library
|
|
532
537
|
+ (NSString * _Nonnull)GetVersion SWIFT_WARN_UNUSED_RESULT;
|
|
@@ -542,7 +547,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
|
|
|
542
547
|
#endif
|
|
543
548
|
|
|
544
549
|
#elif defined(__x86_64__) && __x86_64__
|
|
545
|
-
// Generated by Apple Swift version 5.
|
|
550
|
+
// Generated by Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
|
|
546
551
|
#ifndef BARKODERSDK_SWIFT_H
|
|
547
552
|
#define BARKODERSDK_SWIFT_H
|
|
548
553
|
#pragma clang diagnostic push
|
|
@@ -584,6 +589,8 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
|
|
|
584
589
|
#include <string.h>
|
|
585
590
|
#endif
|
|
586
591
|
#if defined(__cplusplus)
|
|
592
|
+
#pragma clang diagnostic push
|
|
593
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
587
594
|
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
588
595
|
# include <ptrauth.h>
|
|
589
596
|
#else
|
|
@@ -597,6 +604,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
|
|
|
597
604
|
# endif
|
|
598
605
|
#pragma clang diagnostic pop
|
|
599
606
|
#endif
|
|
607
|
+
#pragma clang diagnostic pop
|
|
600
608
|
#endif
|
|
601
609
|
|
|
602
610
|
#if !defined(SWIFT_TYPEDEFS)
|
|
@@ -836,6 +844,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
836
844
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
837
845
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
838
846
|
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
847
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
839
848
|
|
|
840
849
|
#if __has_attribute(external_source_symbol)
|
|
841
850
|
# pragma push_macro("any")
|
|
@@ -1002,6 +1011,8 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
|
|
|
1002
1011
|
BarkoderConfigTemplateVin = 7,
|
|
1003
1012
|
BarkoderConfigTemplateDotcode = 8,
|
|
1004
1013
|
BarkoderConfigTemplateAll_1d = 9,
|
|
1014
|
+
BarkoderConfigTemplateMrz = 10,
|
|
1015
|
+
BarkoderConfigTemplateGallery_scan = 11,
|
|
1005
1016
|
};
|
|
1006
1017
|
|
|
1007
1018
|
|
|
@@ -1040,8 +1051,6 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
|
1040
1051
|
///
|
|
1041
1052
|
- (void)setBarkoderPerformanceDelegate:(id <BarkoderPerformanceDelegate> _Nullable)delegate;
|
|
1042
1053
|
/// Initiates the barcode scanning process, allowing the application to detect and decode barcodes from the device’s camera feed
|
|
1043
|
-
/// \param enabled [true, false]. Default value is false
|
|
1044
|
-
///
|
|
1045
1054
|
- (BOOL)startScanning:(id <BarkoderResultDelegate> _Nonnull)resultDelegate error:(NSError * _Nullable * _Nullable)error;
|
|
1046
1055
|
/// Halts the barcode scanning process, stopping the camera from capturing and processing barcode information
|
|
1047
1056
|
- (void)stopScanning;
|
|
@@ -1069,6 +1078,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
|
|
|
1069
1078
|
|
|
1070
1079
|
|
|
1071
1080
|
|
|
1081
|
+
|
|
1072
1082
|
@interface iBarkoder (SWIFT_EXTENSION(BarkoderSDK))
|
|
1073
1083
|
/// Retrieves the version of the Barkoder library
|
|
1074
1084
|
+ (NSString * _Nonnull)GetVersion SWIFT_WARN_UNUSED_RESULT;
|