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 arm64-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 arm64-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 arm64-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 arm64-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 {}
|