barkoder-nativescript 1.6.3 → 1.6.5
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/barkoder-nativescript.android.ts +242 -4
- package/barkoder-nativescript.common.ts +30 -2
- package/barkoder-nativescript.ios.ts +252 -3
- 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 +12 -2
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Modules/module.modulemap +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_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +3 -3
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +1 -1
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/{ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc → ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc}/metadata.json +37 -37
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.net +5929 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.shape +1915 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/neural_network_optionals/coremldata.bin +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 +12 -2
- 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/Modules/module.modulemap +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +78 -49
- 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_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +4 -4
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +1 -1
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/{ios-arm64/Barkoder.framework/float16_384x256.mlmodelc → ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc}/metadata.json +37 -37
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.net +5929 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.shape +1915 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/neural_network_optionals/coremldata.bin +0 -0
- 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 +153 -12
- 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 +4172 -181
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +96 -4
- 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 +96 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +346 -15
- 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 +306 -24
- 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 +4172 -181
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +96 -4
- 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 +96 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +4172 -181
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +96 -4
- 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 +96 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +25 -25
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +346 -15
- 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/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +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/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -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
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AudioToolbox
|
|
7
7
|
import Barkoder
|
|
@@ -59,15 +59,17 @@ import _SwiftConcurrencyShims
|
|
|
59
59
|
@objc public var locationInImageResultEnabled: Swift.Bool
|
|
60
60
|
@objc public var locationInPreviewEnabled: Swift.Bool
|
|
61
61
|
@objc public var decoderConfig: Barkoder.Config?
|
|
62
|
+
@objc public var arConfig: BarkoderSDK.BarkoderARConfig
|
|
62
63
|
@objc public var barkoderResolution: BarkoderSDK.BarkoderView.BarkoderResolution {
|
|
63
64
|
@objc get
|
|
64
65
|
@objc set
|
|
65
66
|
}
|
|
66
67
|
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
67
68
|
@objc public var thresholdBetweenDuplicatesScans: Swift.Int
|
|
69
|
+
@objc public var showDuplicatesLocations: Swift.Bool
|
|
68
70
|
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
69
71
|
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
70
|
-
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (
|
|
72
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (Barkoder.LicenseCheckResult) -> Swift.Void)
|
|
71
73
|
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
72
74
|
@objc open func getThreadsLimit() -> Swift.Int
|
|
73
75
|
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
@@ -114,10 +116,13 @@ extension UIKit.UIImage {
|
|
|
114
116
|
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
115
117
|
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
116
118
|
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
119
|
+
@objc @_Concurrency.MainActor @preconcurrency public func freezeScanning()
|
|
120
|
+
@objc @_Concurrency.MainActor @preconcurrency public func unfreezeScanning()
|
|
117
121
|
@objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
118
122
|
@objc @_Concurrency.MainActor @preconcurrency public func setCamera(_ position: BarkoderSDK.BarkoderView.BarkoderCameraPosition)
|
|
119
123
|
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
120
124
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
125
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getCurrentZoomFactor() -> Swift.Float
|
|
121
126
|
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
122
127
|
@objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
|
|
123
128
|
@objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
|
|
@@ -126,11 +131,85 @@ extension UIKit.UIImage {
|
|
|
126
131
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
127
132
|
@objc deinit
|
|
128
133
|
}
|
|
134
|
+
extension BarkoderSDK.BarkoderView : UIKit.UIGestureRecognizerDelegate {
|
|
135
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func gestureRecognizer(_ gestureRecognizer: UIKit.UIGestureRecognizer, shouldReceive touch: UIKit.UITouch) -> Swift.Bool
|
|
136
|
+
}
|
|
129
137
|
extension CoreFoundation.CGRect {
|
|
130
138
|
public static let fullScreen: CoreFoundation.CGRect
|
|
131
139
|
public func fullScreenIntersection() -> CoreFoundation.CGRect
|
|
132
140
|
public func isFullScreen() -> Swift.Bool
|
|
133
141
|
}
|
|
142
|
+
@objc public enum BarkoderARMode : Swift.Int {
|
|
143
|
+
case off
|
|
144
|
+
case interactiveDisabled
|
|
145
|
+
case interactiveEnabled
|
|
146
|
+
case nonInteractive
|
|
147
|
+
public init?(rawValue: Swift.Int)
|
|
148
|
+
public typealias RawValue = Swift.Int
|
|
149
|
+
public var rawValue: Swift.Int {
|
|
150
|
+
get
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
@objc public enum BarkoderAROverlayRefresh : Swift.Int {
|
|
154
|
+
case smooth
|
|
155
|
+
case normal
|
|
156
|
+
public init?(rawValue: Swift.Int)
|
|
157
|
+
public typealias RawValue = Swift.Int
|
|
158
|
+
public var rawValue: Swift.Int {
|
|
159
|
+
get
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
@objc public enum BarkoderARLocationType : Swift.Int {
|
|
163
|
+
case none
|
|
164
|
+
case tight
|
|
165
|
+
case boundingBox
|
|
166
|
+
public init?(rawValue: Swift.Int)
|
|
167
|
+
public typealias RawValue = Swift.Int
|
|
168
|
+
public var rawValue: Swift.Int {
|
|
169
|
+
get
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
@objc public enum BarkoderARHeaderShowMode : Swift.Int {
|
|
173
|
+
case never
|
|
174
|
+
case always
|
|
175
|
+
case onSelected
|
|
176
|
+
public init?(rawValue: Swift.Int)
|
|
177
|
+
public typealias RawValue = Swift.Int
|
|
178
|
+
public var rawValue: Swift.Int {
|
|
179
|
+
get
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
@_inheritsConvenienceInitializers @objc public class BarkoderARConfig : ObjectiveC.NSObject {
|
|
183
|
+
@objc public var arMode: BarkoderSDK.BarkoderARMode {
|
|
184
|
+
@objc get
|
|
185
|
+
@objc set
|
|
186
|
+
}
|
|
187
|
+
@objc public var resultDisappearanceDelayMs: Swift.Int
|
|
188
|
+
@objc public var locationTransitionSpeed: Swift.Float {
|
|
189
|
+
@objc get
|
|
190
|
+
@objc set
|
|
191
|
+
}
|
|
192
|
+
@objc public var overlayRefresh: BarkoderSDK.BarkoderAROverlayRefresh
|
|
193
|
+
@objc public var selectedLocationColor: UIKit.UIColor
|
|
194
|
+
@objc public var nonSelectedLocationColor: UIKit.UIColor
|
|
195
|
+
@objc public var selectedLocationLineWidth: Swift.Float
|
|
196
|
+
@objc public var nonSelectedLocationLineWidth: Swift.Float
|
|
197
|
+
@objc public var locationType: BarkoderSDK.BarkoderARLocationType
|
|
198
|
+
@objc public var doubleTapToFreezeEnabled: Swift.Bool
|
|
199
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
200
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
201
|
+
@objc public var headerHeight: Swift.Float
|
|
202
|
+
@objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
|
|
203
|
+
@objc public var headerMaxTextHeight: Swift.Float
|
|
204
|
+
@objc public var headerMinTextHeight: Swift.Float
|
|
205
|
+
@objc public var headerTextColorSelected: UIKit.UIColor
|
|
206
|
+
@objc public var headerTextColorNonSelected: UIKit.UIColor
|
|
207
|
+
@objc public var headerHorizontalTextMargin: Swift.Float
|
|
208
|
+
@objc public var headerVerticalTextMargin: Swift.Float
|
|
209
|
+
@objc public var headerTextFormat: Swift.String
|
|
210
|
+
@objc override dynamic public init()
|
|
211
|
+
@objc deinit
|
|
212
|
+
}
|
|
134
213
|
@objc public protocol BarkoderPreviewFramesDelegate {
|
|
135
214
|
@objc optional func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
136
215
|
}
|
|
@@ -155,6 +234,7 @@ extension CoreFoundation.CGRect {
|
|
|
155
234
|
case gallery_scan
|
|
156
235
|
case composite
|
|
157
236
|
case postal_codes
|
|
237
|
+
case ar
|
|
158
238
|
public init?(rawValue: Swift.Int)
|
|
159
239
|
public typealias RawValue = Swift.Int
|
|
160
240
|
public var rawValue: Swift.Int {
|
|
@@ -175,6 +255,18 @@ extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.RawRepresentable {
|
|
|
175
255
|
extension BarkoderSDK.BarkoderView.BarkoderCameraPosition : Swift.Equatable {}
|
|
176
256
|
extension BarkoderSDK.BarkoderView.BarkoderCameraPosition : Swift.Hashable {}
|
|
177
257
|
extension BarkoderSDK.BarkoderView.BarkoderCameraPosition : Swift.RawRepresentable {}
|
|
258
|
+
extension BarkoderSDK.BarkoderARMode : Swift.Equatable {}
|
|
259
|
+
extension BarkoderSDK.BarkoderARMode : Swift.Hashable {}
|
|
260
|
+
extension BarkoderSDK.BarkoderARMode : Swift.RawRepresentable {}
|
|
261
|
+
extension BarkoderSDK.BarkoderAROverlayRefresh : Swift.Equatable {}
|
|
262
|
+
extension BarkoderSDK.BarkoderAROverlayRefresh : Swift.Hashable {}
|
|
263
|
+
extension BarkoderSDK.BarkoderAROverlayRefresh : Swift.RawRepresentable {}
|
|
264
|
+
extension BarkoderSDK.BarkoderARLocationType : Swift.Equatable {}
|
|
265
|
+
extension BarkoderSDK.BarkoderARLocationType : Swift.Hashable {}
|
|
266
|
+
extension BarkoderSDK.BarkoderARLocationType : Swift.RawRepresentable {}
|
|
267
|
+
extension BarkoderSDK.BarkoderARHeaderShowMode : Swift.Equatable {}
|
|
268
|
+
extension BarkoderSDK.BarkoderARHeaderShowMode : Swift.Hashable {}
|
|
269
|
+
extension BarkoderSDK.BarkoderARHeaderShowMode : Swift.RawRepresentable {}
|
|
178
270
|
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Equatable {}
|
|
179
271
|
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Hashable {}
|
|
180
272
|
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -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
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name BarkoderSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AudioToolbox
|
|
7
7
|
import Barkoder
|
|
@@ -59,15 +59,17 @@ import _SwiftConcurrencyShims
|
|
|
59
59
|
@objc public var locationInImageResultEnabled: Swift.Bool
|
|
60
60
|
@objc public var locationInPreviewEnabled: Swift.Bool
|
|
61
61
|
@objc public var decoderConfig: Barkoder.Config?
|
|
62
|
+
@objc public var arConfig: BarkoderSDK.BarkoderARConfig
|
|
62
63
|
@objc public var barkoderResolution: BarkoderSDK.BarkoderView.BarkoderResolution {
|
|
63
64
|
@objc get
|
|
64
65
|
@objc set
|
|
65
66
|
}
|
|
66
67
|
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
67
68
|
@objc public var thresholdBetweenDuplicatesScans: Swift.Int
|
|
69
|
+
@objc public var showDuplicatesLocations: Swift.Bool
|
|
68
70
|
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
69
71
|
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
70
|
-
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (
|
|
72
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (Barkoder.LicenseCheckResult) -> Swift.Void)
|
|
71
73
|
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
72
74
|
@objc open func getThreadsLimit() -> Swift.Int
|
|
73
75
|
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
@@ -114,10 +116,13 @@ extension UIKit.UIImage {
|
|
|
114
116
|
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
115
117
|
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
116
118
|
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
119
|
+
@objc @_Concurrency.MainActor @preconcurrency public func freezeScanning()
|
|
120
|
+
@objc @_Concurrency.MainActor @preconcurrency public func unfreezeScanning()
|
|
117
121
|
@objc @_Concurrency.MainActor @preconcurrency public func setZoomFactor(_ zoomFactor: Swift.Float)
|
|
118
122
|
@objc @_Concurrency.MainActor @preconcurrency public func setCamera(_ position: BarkoderSDK.BarkoderView.BarkoderCameraPosition)
|
|
119
123
|
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
120
124
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
125
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getCurrentZoomFactor() -> Swift.Float
|
|
121
126
|
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
122
127
|
@objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
|
|
123
128
|
@objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
|
|
@@ -126,11 +131,85 @@ extension UIKit.UIImage {
|
|
|
126
131
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
127
132
|
@objc deinit
|
|
128
133
|
}
|
|
134
|
+
extension BarkoderSDK.BarkoderView : UIKit.UIGestureRecognizerDelegate {
|
|
135
|
+
@_Concurrency.MainActor @preconcurrency @objc dynamic public func gestureRecognizer(_ gestureRecognizer: UIKit.UIGestureRecognizer, shouldReceive touch: UIKit.UITouch) -> Swift.Bool
|
|
136
|
+
}
|
|
129
137
|
extension CoreFoundation.CGRect {
|
|
130
138
|
public static let fullScreen: CoreFoundation.CGRect
|
|
131
139
|
public func fullScreenIntersection() -> CoreFoundation.CGRect
|
|
132
140
|
public func isFullScreen() -> Swift.Bool
|
|
133
141
|
}
|
|
142
|
+
@objc public enum BarkoderARMode : Swift.Int {
|
|
143
|
+
case off
|
|
144
|
+
case interactiveDisabled
|
|
145
|
+
case interactiveEnabled
|
|
146
|
+
case nonInteractive
|
|
147
|
+
public init?(rawValue: Swift.Int)
|
|
148
|
+
public typealias RawValue = Swift.Int
|
|
149
|
+
public var rawValue: Swift.Int {
|
|
150
|
+
get
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
@objc public enum BarkoderAROverlayRefresh : Swift.Int {
|
|
154
|
+
case smooth
|
|
155
|
+
case normal
|
|
156
|
+
public init?(rawValue: Swift.Int)
|
|
157
|
+
public typealias RawValue = Swift.Int
|
|
158
|
+
public var rawValue: Swift.Int {
|
|
159
|
+
get
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
@objc public enum BarkoderARLocationType : Swift.Int {
|
|
163
|
+
case none
|
|
164
|
+
case tight
|
|
165
|
+
case boundingBox
|
|
166
|
+
public init?(rawValue: Swift.Int)
|
|
167
|
+
public typealias RawValue = Swift.Int
|
|
168
|
+
public var rawValue: Swift.Int {
|
|
169
|
+
get
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
@objc public enum BarkoderARHeaderShowMode : Swift.Int {
|
|
173
|
+
case never
|
|
174
|
+
case always
|
|
175
|
+
case onSelected
|
|
176
|
+
public init?(rawValue: Swift.Int)
|
|
177
|
+
public typealias RawValue = Swift.Int
|
|
178
|
+
public var rawValue: Swift.Int {
|
|
179
|
+
get
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
@_inheritsConvenienceInitializers @objc public class BarkoderARConfig : ObjectiveC.NSObject {
|
|
183
|
+
@objc public var arMode: BarkoderSDK.BarkoderARMode {
|
|
184
|
+
@objc get
|
|
185
|
+
@objc set
|
|
186
|
+
}
|
|
187
|
+
@objc public var resultDisappearanceDelayMs: Swift.Int
|
|
188
|
+
@objc public var locationTransitionSpeed: Swift.Float {
|
|
189
|
+
@objc get
|
|
190
|
+
@objc set
|
|
191
|
+
}
|
|
192
|
+
@objc public var overlayRefresh: BarkoderSDK.BarkoderAROverlayRefresh
|
|
193
|
+
@objc public var selectedLocationColor: UIKit.UIColor
|
|
194
|
+
@objc public var nonSelectedLocationColor: UIKit.UIColor
|
|
195
|
+
@objc public var selectedLocationLineWidth: Swift.Float
|
|
196
|
+
@objc public var nonSelectedLocationLineWidth: Swift.Float
|
|
197
|
+
@objc public var locationType: BarkoderSDK.BarkoderARLocationType
|
|
198
|
+
@objc public var doubleTapToFreezeEnabled: Swift.Bool
|
|
199
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
200
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
201
|
+
@objc public var headerHeight: Swift.Float
|
|
202
|
+
@objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
|
|
203
|
+
@objc public var headerMaxTextHeight: Swift.Float
|
|
204
|
+
@objc public var headerMinTextHeight: Swift.Float
|
|
205
|
+
@objc public var headerTextColorSelected: UIKit.UIColor
|
|
206
|
+
@objc public var headerTextColorNonSelected: UIKit.UIColor
|
|
207
|
+
@objc public var headerHorizontalTextMargin: Swift.Float
|
|
208
|
+
@objc public var headerVerticalTextMargin: Swift.Float
|
|
209
|
+
@objc public var headerTextFormat: Swift.String
|
|
210
|
+
@objc override dynamic public init()
|
|
211
|
+
@objc deinit
|
|
212
|
+
}
|
|
134
213
|
@objc public protocol BarkoderPreviewFramesDelegate {
|
|
135
214
|
@objc optional func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
136
215
|
}
|
|
@@ -155,6 +234,7 @@ extension CoreFoundation.CGRect {
|
|
|
155
234
|
case gallery_scan
|
|
156
235
|
case composite
|
|
157
236
|
case postal_codes
|
|
237
|
+
case ar
|
|
158
238
|
public init?(rawValue: Swift.Int)
|
|
159
239
|
public typealias RawValue = Swift.Int
|
|
160
240
|
public var rawValue: Swift.Int {
|
|
@@ -175,6 +255,18 @@ extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.RawRepresentable {
|
|
|
175
255
|
extension BarkoderSDK.BarkoderView.BarkoderCameraPosition : Swift.Equatable {}
|
|
176
256
|
extension BarkoderSDK.BarkoderView.BarkoderCameraPosition : Swift.Hashable {}
|
|
177
257
|
extension BarkoderSDK.BarkoderView.BarkoderCameraPosition : Swift.RawRepresentable {}
|
|
258
|
+
extension BarkoderSDK.BarkoderARMode : Swift.Equatable {}
|
|
259
|
+
extension BarkoderSDK.BarkoderARMode : Swift.Hashable {}
|
|
260
|
+
extension BarkoderSDK.BarkoderARMode : Swift.RawRepresentable {}
|
|
261
|
+
extension BarkoderSDK.BarkoderAROverlayRefresh : Swift.Equatable {}
|
|
262
|
+
extension BarkoderSDK.BarkoderAROverlayRefresh : Swift.Hashable {}
|
|
263
|
+
extension BarkoderSDK.BarkoderAROverlayRefresh : Swift.RawRepresentable {}
|
|
264
|
+
extension BarkoderSDK.BarkoderARLocationType : Swift.Equatable {}
|
|
265
|
+
extension BarkoderSDK.BarkoderARLocationType : Swift.Hashable {}
|
|
266
|
+
extension BarkoderSDK.BarkoderARLocationType : Swift.RawRepresentable {}
|
|
267
|
+
extension BarkoderSDK.BarkoderARHeaderShowMode : Swift.Equatable {}
|
|
268
|
+
extension BarkoderSDK.BarkoderARHeaderShowMode : Swift.Hashable {}
|
|
269
|
+
extension BarkoderSDK.BarkoderARHeaderShowMode : Swift.RawRepresentable {}
|
|
178
270
|
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Equatable {}
|
|
179
271
|
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.Hashable {}
|
|
180
272
|
extension BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate : Swift.RawRepresentable {}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/BarkoderSDK-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
gXVjwH8S8MiHkqGqOkNVPiFLbh4=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/BarkoderSDK.h</key>
|
|
12
12
|
<data>
|
|
@@ -14,47 +14,47 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
rn4wpGD+FqVpTYXQxo9gJe57xvs=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
QURyQ6h28tR49TTIzYz+OKZXJS4=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
nBPXMcWhOGumbPTXykJEPzABTzc=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
Sr2DmcmQWVix59paR4a2e7K7zWI=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
nBPXMcWhOGumbPTXykJEPzABTzc=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
4hGP1Y+T2mp485Mfc14uCymYYPE=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
QURyQ6h28tR49TTIzYz+OKZXJS4=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
h5oyKV/Uh+6rClOEEMV/pm7W78M=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
gqH981EwFykW2yhxfsny67WG2uA=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
h5oyKV/Uh+6rClOEEMV/pm7W78M=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
HOmCIG++/i4LEGuqZjLAvgE2ZK4=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/module.modulemap</key>
|
|
60
60
|
<data>
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
</data>
|
|
67
67
|
<key>templates.json</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
QMou6+82tZWIaDITsUM69YN/MQA=
|
|
70
70
|
</data>
|
|
71
71
|
</dict>
|
|
72
72
|
<key>files2</key>
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
<dict>
|
|
76
76
|
<key>hash2</key>
|
|
77
77
|
<data>
|
|
78
|
-
|
|
78
|
+
lMGO9hloyX4obhaJrkozwfROy77YE9ceP2Y7z3yvVLc=
|
|
79
79
|
</data>
|
|
80
80
|
</dict>
|
|
81
81
|
<key>Headers/BarkoderSDK.h</key>
|
|
@@ -89,70 +89,70 @@
|
|
|
89
89
|
<dict>
|
|
90
90
|
<key>hash2</key>
|
|
91
91
|
<data>
|
|
92
|
-
|
|
92
|
+
511LCwlX2aiTjcSAAqqEHawnCK4McocnFDVUqi/+KTQ=
|
|
93
93
|
</data>
|
|
94
94
|
</dict>
|
|
95
95
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
96
96
|
<dict>
|
|
97
97
|
<key>hash2</key>
|
|
98
98
|
<data>
|
|
99
|
-
|
|
99
|
+
O4xWPD1b616Hg7HmGgNz/nL1FNKQsGZ/jKGeHYq/edI=
|
|
100
100
|
</data>
|
|
101
101
|
</dict>
|
|
102
102
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
103
103
|
<dict>
|
|
104
104
|
<key>hash2</key>
|
|
105
105
|
<data>
|
|
106
|
-
|
|
106
|
+
igh42x8N1+WmjQOBzYMuhFN2TxTBO7cjbXYQwwnmZIE=
|
|
107
107
|
</data>
|
|
108
108
|
</dict>
|
|
109
109
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
110
110
|
<dict>
|
|
111
111
|
<key>hash2</key>
|
|
112
112
|
<data>
|
|
113
|
-
|
|
113
|
+
O4xWPD1b616Hg7HmGgNz/nL1FNKQsGZ/jKGeHYq/edI=
|
|
114
114
|
</data>
|
|
115
115
|
</dict>
|
|
116
116
|
<key>Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
117
117
|
<dict>
|
|
118
118
|
<key>hash2</key>
|
|
119
119
|
<data>
|
|
120
|
-
|
|
120
|
+
uxj88hTVfO7u7GmFUeiP2R5Xv/zYfDOAPvQ/P86Na94=
|
|
121
121
|
</data>
|
|
122
122
|
</dict>
|
|
123
123
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
124
124
|
<dict>
|
|
125
125
|
<key>hash2</key>
|
|
126
126
|
<data>
|
|
127
|
-
|
|
127
|
+
511LCwlX2aiTjcSAAqqEHawnCK4McocnFDVUqi/+KTQ=
|
|
128
128
|
</data>
|
|
129
129
|
</dict>
|
|
130
130
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
131
131
|
<dict>
|
|
132
132
|
<key>hash2</key>
|
|
133
133
|
<data>
|
|
134
|
-
|
|
134
|
+
hkVW04Xg35HJfmqjmxlimWmDwqiUNDIr5uQmb3eCQbQ=
|
|
135
135
|
</data>
|
|
136
136
|
</dict>
|
|
137
137
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
138
138
|
<dict>
|
|
139
139
|
<key>hash2</key>
|
|
140
140
|
<data>
|
|
141
|
-
|
|
141
|
+
A0n9oqNwftf9W5MrEEZg3IF1TTFFsHLwsc1HC+pblwk=
|
|
142
142
|
</data>
|
|
143
143
|
</dict>
|
|
144
144
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
145
145
|
<dict>
|
|
146
146
|
<key>hash2</key>
|
|
147
147
|
<data>
|
|
148
|
-
|
|
148
|
+
hkVW04Xg35HJfmqjmxlimWmDwqiUNDIr5uQmb3eCQbQ=
|
|
149
149
|
</data>
|
|
150
150
|
</dict>
|
|
151
151
|
<key>Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
152
152
|
<dict>
|
|
153
153
|
<key>hash2</key>
|
|
154
154
|
<data>
|
|
155
|
-
|
|
155
|
+
efrAX0UlscOAXlui+4fg8+4fSBOaUHzR//yysEFCCCs=
|
|
156
156
|
</data>
|
|
157
157
|
</dict>
|
|
158
158
|
<key>Modules/module.modulemap</key>
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
<dict>
|
|
174
174
|
<key>hash2</key>
|
|
175
175
|
<data>
|
|
176
|
-
|
|
176
|
+
WkiRjWGaA9L22bHg7UYJCGJJ0cnmz5e0elAuXcks7vI=
|
|
177
177
|
</data>
|
|
178
178
|
</dict>
|
|
179
179
|
</dict>
|