barkoder-nativescript 1.6.4 → 1.6.7
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 +363 -5
- package/barkoder-nativescript.common.ts +11 -3
- package/barkoder-nativescript.ios.ts +354 -4
- 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 +36 -4
- 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/n2_384x256_int8.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/metadata.json +77 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.net +5331 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.shape +1740 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/neural_network_optionals/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/metadata.json +77 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.net +5331 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.shape +1740 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.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 +36 -4
- 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 +119 -53
- 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/n2_384x256_int8.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/metadata.json +77 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.net +5331 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.shape +1740 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/neural_network_optionals/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/analytics/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/metadata.json +77 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.net +5331 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.shape +1740 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.weights +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.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 +116 -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 +2507 -1044
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +54 -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 +54 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +32 -23
- 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 +232 -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 +2507 -1044
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +54 -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 +54 -4
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2507 -1044
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +54 -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 +54 -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 +32 -23
- 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 +0 -88
- 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/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 +0 -88
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.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/metadata.json +0 -88
- 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
- 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 +0 -88
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +0 -753
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.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.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
|
|
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 -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AudioToolbox
|
|
7
7
|
import Barkoder
|
|
@@ -14,7 +14,9 @@ import _Concurrency
|
|
|
14
14
|
import _StringProcessing
|
|
15
15
|
import _SwiftConcurrencyShims
|
|
16
16
|
@objc public protocol BarkoderResultDelegate {
|
|
17
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
17
18
|
@objc func scanningFinished(_ decoderResults: [Barkoder.DecoderResult], thumbnails: [UIKit.UIImage]?, image: UIKit.UIImage?)
|
|
19
|
+
#endif
|
|
18
20
|
}
|
|
19
21
|
@_inheritsConvenienceInitializers @objc public class BarkoderConfig : ObjectiveC.NSObject {
|
|
20
22
|
@objc public var roiLineColor: UIKit.UIColor {
|
|
@@ -69,7 +71,7 @@ import _SwiftConcurrencyShims
|
|
|
69
71
|
@objc public var showDuplicatesLocations: Swift.Bool
|
|
70
72
|
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
71
73
|
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
72
|
-
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (
|
|
74
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (Barkoder.LicenseCheckResult) -> Swift.Void)
|
|
73
75
|
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
74
76
|
@objc open func getThreadsLimit() -> Swift.Int
|
|
75
77
|
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
@@ -90,7 +92,9 @@ extension UIKit.UIImage {
|
|
|
90
92
|
case HD
|
|
91
93
|
case FHD
|
|
92
94
|
case UHD
|
|
95
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
93
96
|
public init?(rawValue: Swift.Int)
|
|
97
|
+
#endif
|
|
94
98
|
public typealias RawValue = Swift.Int
|
|
95
99
|
public var rawValue: Swift.Int {
|
|
96
100
|
get
|
|
@@ -99,7 +103,9 @@ extension UIKit.UIImage {
|
|
|
99
103
|
@objc public enum BarkoderCameraPosition : Swift.Int {
|
|
100
104
|
case BACK
|
|
101
105
|
case FRONT
|
|
106
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
102
107
|
public init?(rawValue: Swift.Int)
|
|
108
|
+
#endif
|
|
103
109
|
public typealias RawValue = Swift.Int
|
|
104
110
|
public var rawValue: Swift.Int {
|
|
105
111
|
get
|
|
@@ -111,8 +117,12 @@ extension UIKit.UIImage {
|
|
|
111
117
|
}
|
|
112
118
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
113
119
|
@objc @_Concurrency.MainActor @preconcurrency public func startCamera()
|
|
120
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
114
121
|
@objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
122
|
+
#endif
|
|
123
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
115
124
|
@objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
125
|
+
#endif
|
|
116
126
|
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
117
127
|
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
118
128
|
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
@@ -122,10 +132,22 @@ extension UIKit.UIImage {
|
|
|
122
132
|
@objc @_Concurrency.MainActor @preconcurrency public func setCamera(_ position: BarkoderSDK.BarkoderView.BarkoderCameraPosition)
|
|
123
133
|
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
124
134
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
135
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getCurrentZoomFactor() -> Swift.Float
|
|
125
136
|
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
126
137
|
@objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
|
|
127
138
|
@objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
|
|
128
139
|
@objc @_Concurrency.MainActor @preconcurrency public func setVideoStabilization(_ enabled: Swift.Bool)
|
|
140
|
+
@objc @_Concurrency.MainActor @preconcurrency public func captureImage()
|
|
141
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
142
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configureCloseButton(visible: Swift.Bool, position: Foundation.NSValue? = nil, iconSize: Foundation.NSNumber? = nil, tintColor: UIKit.UIColor? = nil, backgroundColor: UIKit.UIColor? = nil, cornerRadius: Foundation.NSNumber? = nil, padding: Foundation.NSNumber? = nil, useCustomIcon: Foundation.NSNumber? = nil, customIcon: UIKit.UIImage? = nil, onClose: (@convention(block) () -> Swift.Void)? = nil)
|
|
143
|
+
#endif
|
|
144
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
145
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configureFlashButton(visible: Swift.Bool, position: Foundation.NSValue? = nil, iconSize: Foundation.NSNumber? = nil, tintColor: UIKit.UIColor? = nil, backgroundColor: UIKit.UIColor? = nil, cornerRadius: Foundation.NSNumber? = nil, padding: Foundation.NSNumber? = nil, useCustomIcon: Foundation.NSNumber? = nil, customIconFlashOn: UIKit.UIImage? = nil, customIconFlashOff: UIKit.UIImage? = nil)
|
|
146
|
+
#endif
|
|
147
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
148
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configureZoomButton(visible: Swift.Bool, position: Foundation.NSValue? = nil, iconSize: Foundation.NSNumber? = nil, tintColor: UIKit.UIColor? = nil, backgroundColor: UIKit.UIColor? = nil, cornerRadius: Foundation.NSNumber? = nil, padding: Foundation.NSNumber? = nil, useCustomIcon: Foundation.NSNumber? = nil, customIconZoomedIn: UIKit.UIImage? = nil, customIconZoomedOut: UIKit.UIImage? = nil, zoomedInFactor: Foundation.NSNumber? = nil, zoomedOutFactor: Foundation.NSNumber? = nil)
|
|
149
|
+
#endif
|
|
150
|
+
@objc @_Concurrency.MainActor @preconcurrency public func selectVisibleBarcodes()
|
|
129
151
|
@_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
130
152
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
131
153
|
@objc deinit
|
|
@@ -143,7 +165,9 @@ extension CoreFoundation.CGRect {
|
|
|
143
165
|
case interactiveDisabled
|
|
144
166
|
case interactiveEnabled
|
|
145
167
|
case nonInteractive
|
|
168
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
146
169
|
public init?(rawValue: Swift.Int)
|
|
170
|
+
#endif
|
|
147
171
|
public typealias RawValue = Swift.Int
|
|
148
172
|
public var rawValue: Swift.Int {
|
|
149
173
|
get
|
|
@@ -152,7 +176,9 @@ extension CoreFoundation.CGRect {
|
|
|
152
176
|
@objc public enum BarkoderAROverlayRefresh : Swift.Int {
|
|
153
177
|
case smooth
|
|
154
178
|
case normal
|
|
179
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
155
180
|
public init?(rawValue: Swift.Int)
|
|
181
|
+
#endif
|
|
156
182
|
public typealias RawValue = Swift.Int
|
|
157
183
|
public var rawValue: Swift.Int {
|
|
158
184
|
get
|
|
@@ -162,7 +188,9 @@ extension CoreFoundation.CGRect {
|
|
|
162
188
|
case none
|
|
163
189
|
case tight
|
|
164
190
|
case boundingBox
|
|
191
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
165
192
|
public init?(rawValue: Swift.Int)
|
|
193
|
+
#endif
|
|
166
194
|
public typealias RawValue = Swift.Int
|
|
167
195
|
public var rawValue: Swift.Int {
|
|
168
196
|
get
|
|
@@ -172,7 +200,9 @@ extension CoreFoundation.CGRect {
|
|
|
172
200
|
case never
|
|
173
201
|
case always
|
|
174
202
|
case onSelected
|
|
203
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
175
204
|
public init?(rawValue: Swift.Int)
|
|
205
|
+
#endif
|
|
176
206
|
public typealias RawValue = Swift.Int
|
|
177
207
|
public var rawValue: Swift.Int {
|
|
178
208
|
get
|
|
@@ -195,6 +225,11 @@ extension CoreFoundation.CGRect {
|
|
|
195
225
|
@objc public var nonSelectedLocationLineWidth: Swift.Float
|
|
196
226
|
@objc public var locationType: BarkoderSDK.BarkoderARLocationType
|
|
197
227
|
@objc public var doubleTapToFreezeEnabled: Swift.Bool
|
|
228
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
229
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
230
|
+
@objc public var resultLimit: Swift.Int
|
|
231
|
+
@objc public var continueScanningOnLimit: Swift.Bool
|
|
232
|
+
@objc public var emitResultsAtSessionEndOnly: Swift.Bool
|
|
198
233
|
@objc public var headerHeight: Swift.Float
|
|
199
234
|
@objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
|
|
200
235
|
@objc public var headerMaxTextHeight: Swift.Float
|
|
@@ -232,20 +267,35 @@ extension CoreFoundation.CGRect {
|
|
|
232
267
|
case composite
|
|
233
268
|
case postal_codes
|
|
234
269
|
case ar
|
|
270
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
235
271
|
public init?(rawValue: Swift.Int)
|
|
272
|
+
#endif
|
|
236
273
|
public typealias RawValue = Swift.Int
|
|
237
274
|
public var rawValue: Swift.Int {
|
|
238
275
|
get
|
|
239
276
|
}
|
|
240
277
|
}
|
|
241
278
|
@objc public static func applyConfigSettingsFromTemplate(_ config: BarkoderSDK.BarkoderConfig, template: BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate, finished: @escaping (BarkoderSDK.BarkoderConfig) -> Swift.Void)
|
|
279
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
242
280
|
@objc public static func applyConfigSettingsFromURL(_ config: BarkoderSDK.BarkoderConfig, url: Foundation.URL, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
281
|
+
#endif
|
|
282
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
243
283
|
@objc public static func applyConfigSettingsFromFile(_ config: BarkoderSDK.BarkoderConfig, url: Swift.String, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
284
|
+
#endif
|
|
285
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
244
286
|
@objc public static func applyConfigSettingsFromJson(_ config: BarkoderSDK.BarkoderConfig, jsonData: Foundation.Data, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
287
|
+
#endif
|
|
288
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
245
289
|
@objc public static func configToJSON(_ barkoderConfig: BarkoderSDK.BarkoderConfig) -> Swift.String?
|
|
290
|
+
#endif
|
|
246
291
|
@objc override dynamic public init()
|
|
247
292
|
@objc deinit
|
|
248
293
|
}
|
|
294
|
+
extension BarkoderSDK.BarkoderHelper {
|
|
295
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
296
|
+
@objc public static func sadlImage(fromExtra extra: [Swift.AnyHashable : Any]?) -> UIKit.UIImage?
|
|
297
|
+
#endif
|
|
298
|
+
}
|
|
249
299
|
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Equatable {}
|
|
250
300
|
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Hashable {}
|
|
251
301
|
extension BarkoderSDK.BarkoderView.BarkoderResolution : 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.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
|
|
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 -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AudioToolbox
|
|
7
7
|
import Barkoder
|
|
@@ -14,7 +14,9 @@ import _Concurrency
|
|
|
14
14
|
import _StringProcessing
|
|
15
15
|
import _SwiftConcurrencyShims
|
|
16
16
|
@objc public protocol BarkoderResultDelegate {
|
|
17
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
17
18
|
@objc func scanningFinished(_ decoderResults: [Barkoder.DecoderResult], thumbnails: [UIKit.UIImage]?, image: UIKit.UIImage?)
|
|
19
|
+
#endif
|
|
18
20
|
}
|
|
19
21
|
@_inheritsConvenienceInitializers @objc public class BarkoderConfig : ObjectiveC.NSObject {
|
|
20
22
|
@objc public var roiLineColor: UIKit.UIColor {
|
|
@@ -69,7 +71,7 @@ import _SwiftConcurrencyShims
|
|
|
69
71
|
@objc public var showDuplicatesLocations: Swift.Bool
|
|
70
72
|
@objc open func setRegionOfInterest(_ value: CoreFoundation.CGRect) throws
|
|
71
73
|
@objc open func getRegionOfInterest() -> CoreFoundation.CGRect
|
|
72
|
-
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (
|
|
74
|
+
@objc convenience public init(licenseKey: Swift.String, licenseCheckHandler: @escaping (Barkoder.LicenseCheckResult) -> Swift.Void)
|
|
73
75
|
@objc open func setThreadsLimit(_ value: Swift.Int) throws
|
|
74
76
|
@objc open func getThreadsLimit() -> Swift.Int
|
|
75
77
|
@objc open func setMulticodeCachingEnabled(_ boolean: Swift.Bool)
|
|
@@ -90,7 +92,9 @@ extension UIKit.UIImage {
|
|
|
90
92
|
case HD
|
|
91
93
|
case FHD
|
|
92
94
|
case UHD
|
|
95
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
93
96
|
public init?(rawValue: Swift.Int)
|
|
97
|
+
#endif
|
|
94
98
|
public typealias RawValue = Swift.Int
|
|
95
99
|
public var rawValue: Swift.Int {
|
|
96
100
|
get
|
|
@@ -99,7 +103,9 @@ extension UIKit.UIImage {
|
|
|
99
103
|
@objc public enum BarkoderCameraPosition : Swift.Int {
|
|
100
104
|
case BACK
|
|
101
105
|
case FRONT
|
|
106
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
102
107
|
public init?(rawValue: Swift.Int)
|
|
108
|
+
#endif
|
|
103
109
|
public typealias RawValue = Swift.Int
|
|
104
110
|
public var rawValue: Swift.Int {
|
|
105
111
|
get
|
|
@@ -111,8 +117,12 @@ extension UIKit.UIImage {
|
|
|
111
117
|
}
|
|
112
118
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
113
119
|
@objc @_Concurrency.MainActor @preconcurrency public func startCamera()
|
|
120
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
114
121
|
@objc @_Concurrency.MainActor @preconcurrency public func setPreviewFramesDelegate(_ delegate: (any BarkoderSDK.BarkoderPreviewFramesDelegate)?)
|
|
122
|
+
#endif
|
|
123
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
115
124
|
@objc @_Concurrency.MainActor @preconcurrency public func setBarkoderPerformanceDelegate(_ delegate: (any BarkoderSDK.BarkoderPerformanceDelegate)?)
|
|
125
|
+
#endif
|
|
116
126
|
@objc @_Concurrency.MainActor @preconcurrency public func startScanning(_ resultDelegate: any BarkoderSDK.BarkoderResultDelegate) throws
|
|
117
127
|
@objc @_Concurrency.MainActor @preconcurrency public func stopScanning()
|
|
118
128
|
@objc @_Concurrency.MainActor @preconcurrency public func pauseScanning()
|
|
@@ -122,10 +132,22 @@ extension UIKit.UIImage {
|
|
|
122
132
|
@objc @_Concurrency.MainActor @preconcurrency public func setCamera(_ position: BarkoderSDK.BarkoderView.BarkoderCameraPosition)
|
|
123
133
|
@objc @_Concurrency.MainActor @preconcurrency public func setFlash(_ enabled: Swift.Bool)
|
|
124
134
|
@objc @_Concurrency.MainActor @preconcurrency public func getMaxZoomFactor(_ completion: @escaping (_ maxZoomFactor: Swift.Float) -> Swift.Void)
|
|
135
|
+
@objc @_Concurrency.MainActor @preconcurrency public func getCurrentZoomFactor() -> Swift.Float
|
|
125
136
|
@objc @_Concurrency.MainActor @preconcurrency public func isFlashAvailable(_ completion: @escaping (_ flashAvailable: Swift.Bool) -> Swift.Void)
|
|
126
137
|
@objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
|
|
127
138
|
@objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
|
|
128
139
|
@objc @_Concurrency.MainActor @preconcurrency public func setVideoStabilization(_ enabled: Swift.Bool)
|
|
140
|
+
@objc @_Concurrency.MainActor @preconcurrency public func captureImage()
|
|
141
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
142
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configureCloseButton(visible: Swift.Bool, position: Foundation.NSValue? = nil, iconSize: Foundation.NSNumber? = nil, tintColor: UIKit.UIColor? = nil, backgroundColor: UIKit.UIColor? = nil, cornerRadius: Foundation.NSNumber? = nil, padding: Foundation.NSNumber? = nil, useCustomIcon: Foundation.NSNumber? = nil, customIcon: UIKit.UIImage? = nil, onClose: (@convention(block) () -> Swift.Void)? = nil)
|
|
143
|
+
#endif
|
|
144
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
145
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configureFlashButton(visible: Swift.Bool, position: Foundation.NSValue? = nil, iconSize: Foundation.NSNumber? = nil, tintColor: UIKit.UIColor? = nil, backgroundColor: UIKit.UIColor? = nil, cornerRadius: Foundation.NSNumber? = nil, padding: Foundation.NSNumber? = nil, useCustomIcon: Foundation.NSNumber? = nil, customIconFlashOn: UIKit.UIImage? = nil, customIconFlashOff: UIKit.UIImage? = nil)
|
|
146
|
+
#endif
|
|
147
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
148
|
+
@objc @_Concurrency.MainActor @preconcurrency public func configureZoomButton(visible: Swift.Bool, position: Foundation.NSValue? = nil, iconSize: Foundation.NSNumber? = nil, tintColor: UIKit.UIColor? = nil, backgroundColor: UIKit.UIColor? = nil, cornerRadius: Foundation.NSNumber? = nil, padding: Foundation.NSNumber? = nil, useCustomIcon: Foundation.NSNumber? = nil, customIconZoomedIn: UIKit.UIImage? = nil, customIconZoomedOut: UIKit.UIImage? = nil, zoomedInFactor: Foundation.NSNumber? = nil, zoomedOutFactor: Foundation.NSNumber? = nil)
|
|
149
|
+
#endif
|
|
150
|
+
@objc @_Concurrency.MainActor @preconcurrency public func selectVisibleBarcodes()
|
|
129
151
|
@_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
|
|
130
152
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
131
153
|
@objc deinit
|
|
@@ -143,7 +165,9 @@ extension CoreFoundation.CGRect {
|
|
|
143
165
|
case interactiveDisabled
|
|
144
166
|
case interactiveEnabled
|
|
145
167
|
case nonInteractive
|
|
168
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
146
169
|
public init?(rawValue: Swift.Int)
|
|
170
|
+
#endif
|
|
147
171
|
public typealias RawValue = Swift.Int
|
|
148
172
|
public var rawValue: Swift.Int {
|
|
149
173
|
get
|
|
@@ -152,7 +176,9 @@ extension CoreFoundation.CGRect {
|
|
|
152
176
|
@objc public enum BarkoderAROverlayRefresh : Swift.Int {
|
|
153
177
|
case smooth
|
|
154
178
|
case normal
|
|
179
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
155
180
|
public init?(rawValue: Swift.Int)
|
|
181
|
+
#endif
|
|
156
182
|
public typealias RawValue = Swift.Int
|
|
157
183
|
public var rawValue: Swift.Int {
|
|
158
184
|
get
|
|
@@ -162,7 +188,9 @@ extension CoreFoundation.CGRect {
|
|
|
162
188
|
case none
|
|
163
189
|
case tight
|
|
164
190
|
case boundingBox
|
|
191
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
165
192
|
public init?(rawValue: Swift.Int)
|
|
193
|
+
#endif
|
|
166
194
|
public typealias RawValue = Swift.Int
|
|
167
195
|
public var rawValue: Swift.Int {
|
|
168
196
|
get
|
|
@@ -172,7 +200,9 @@ extension CoreFoundation.CGRect {
|
|
|
172
200
|
case never
|
|
173
201
|
case always
|
|
174
202
|
case onSelected
|
|
203
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
175
204
|
public init?(rawValue: Swift.Int)
|
|
205
|
+
#endif
|
|
176
206
|
public typealias RawValue = Swift.Int
|
|
177
207
|
public var rawValue: Swift.Int {
|
|
178
208
|
get
|
|
@@ -195,6 +225,11 @@ extension CoreFoundation.CGRect {
|
|
|
195
225
|
@objc public var nonSelectedLocationLineWidth: Swift.Float
|
|
196
226
|
@objc public var locationType: BarkoderSDK.BarkoderARLocationType
|
|
197
227
|
@objc public var doubleTapToFreezeEnabled: Swift.Bool
|
|
228
|
+
@objc public var imageResultEnabled: Swift.Bool
|
|
229
|
+
@objc public var barcodeThumbnailOnResult: Swift.Bool
|
|
230
|
+
@objc public var resultLimit: Swift.Int
|
|
231
|
+
@objc public var continueScanningOnLimit: Swift.Bool
|
|
232
|
+
@objc public var emitResultsAtSessionEndOnly: Swift.Bool
|
|
198
233
|
@objc public var headerHeight: Swift.Float
|
|
199
234
|
@objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
|
|
200
235
|
@objc public var headerMaxTextHeight: Swift.Float
|
|
@@ -232,20 +267,35 @@ extension CoreFoundation.CGRect {
|
|
|
232
267
|
case composite
|
|
233
268
|
case postal_codes
|
|
234
269
|
case ar
|
|
270
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
235
271
|
public init?(rawValue: Swift.Int)
|
|
272
|
+
#endif
|
|
236
273
|
public typealias RawValue = Swift.Int
|
|
237
274
|
public var rawValue: Swift.Int {
|
|
238
275
|
get
|
|
239
276
|
}
|
|
240
277
|
}
|
|
241
278
|
@objc public static func applyConfigSettingsFromTemplate(_ config: BarkoderSDK.BarkoderConfig, template: BarkoderSDK.BarkoderHelper.BarkoderConfigTemplate, finished: @escaping (BarkoderSDK.BarkoderConfig) -> Swift.Void)
|
|
279
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
242
280
|
@objc public static func applyConfigSettingsFromURL(_ config: BarkoderSDK.BarkoderConfig, url: Foundation.URL, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
281
|
+
#endif
|
|
282
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
243
283
|
@objc public static func applyConfigSettingsFromFile(_ config: BarkoderSDK.BarkoderConfig, url: Swift.String, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
284
|
+
#endif
|
|
285
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
244
286
|
@objc public static func applyConfigSettingsFromJson(_ config: BarkoderSDK.BarkoderConfig, jsonData: Foundation.Data, finished: @escaping (BarkoderSDK.BarkoderConfig?, (any Swift.Error)?) -> Swift.Void)
|
|
287
|
+
#endif
|
|
288
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
245
289
|
@objc public static func configToJSON(_ barkoderConfig: BarkoderSDK.BarkoderConfig) -> Swift.String?
|
|
290
|
+
#endif
|
|
246
291
|
@objc override dynamic public init()
|
|
247
292
|
@objc deinit
|
|
248
293
|
}
|
|
294
|
+
extension BarkoderSDK.BarkoderHelper {
|
|
295
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
296
|
+
@objc public static func sadlImage(fromExtra extra: [Swift.AnyHashable : Any]?) -> UIKit.UIImage?
|
|
297
|
+
#endif
|
|
298
|
+
}
|
|
249
299
|
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Equatable {}
|
|
250
300
|
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Hashable {}
|
|
251
301
|
extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.RawRepresentable {}
|