barkoder-nativescript 1.6.5 → 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.
Files changed (84) hide show
  1. package/barkoder-nativescript.android.ts +307 -3
  2. package/barkoder-nativescript.common.ts +6 -2
  3. package/barkoder-nativescript.ios.ts +304 -15
  4. package/package.json +1 -1
  5. package/platforms/android/barkoder.aar +0 -0
  6. package/platforms/ios/Barkoder.xcframework/Info.plist +5 -5
  7. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Barkoder +0 -0
  8. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/iBarkoder.h +25 -3
  9. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
  10. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/default.metallib +0 -0
  11. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/analytics/coremldata.bin +0 -0
  12. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/coremldata.bin +0 -0
  13. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/{int8_384x256_small2.mlmodelc → n2_384x256_int8.mlmodelc}/metadata.json +18 -29
  14. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/{int8_384x256_small2.mlmodelc → n2_384x256_int8.mlmodelc}/model.espresso.net +1960 -2558
  15. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/{int8_384x256_small2.mlmodelc → n2_384x256_int8.mlmodelc}/model.espresso.shape +775 -950
  16. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.weights +0 -0
  17. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/analytics/coremldata.bin +0 -0
  18. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/coremldata.bin +0 -0
  19. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/metadata.json +77 -0
  20. package/platforms/ios/Barkoder.xcframework/{ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc → ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc}/model.espresso.net +1960 -2558
  21. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.shape +1740 -0
  22. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.weights +0 -0
  23. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder +0 -0
  24. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Headers/iBarkoder.h +25 -3
  25. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Info.plist +0 -0
  26. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +98 -65
  27. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/default.metallib +0 -0
  28. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/analytics/coremldata.bin +0 -0
  29. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/coremldata.bin +0 -0
  30. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/{int8_384x256_small2.mlmodelc → n2_384x256_int8.mlmodelc}/metadata.json +18 -29
  31. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/model/coremldata.bin +0 -0
  32. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.net +5331 -0
  33. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/{int8_384x256_small2.mlmodelc → n2_384x256_int8.mlmodelc}/model.espresso.shape +775 -950
  34. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/model.espresso.weights +0 -0
  35. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_384x256_int8.mlmodelc/neural_network_optionals/coremldata.bin +0 -0
  36. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/analytics/coremldata.bin +0 -0
  37. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/coremldata.bin +0 -0
  38. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/metadata.json +77 -0
  39. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model/coremldata.bin +0 -0
  40. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.net +5331 -0
  41. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.shape +1740 -0
  42. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/model.espresso.weights +0 -0
  43. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/n2_512x384_int8.mlmodelc/neural_network_optionals/coremldata.bin +0 -0
  44. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/BarkoderSDK +0 -0
  45. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +105 -1
  46. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Info.plist +0 -0
  47. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.abi.json +1847 -646
  48. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +49 -2
  49. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  50. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +49 -2
  51. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +19 -16
  52. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/BarkoderSDK +0 -0
  53. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +210 -2
  54. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Info.plist +0 -0
  55. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1847 -646
  56. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +49 -2
  57. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  58. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +49 -2
  59. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1847 -646
  60. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +49 -2
  61. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  62. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +49 -2
  63. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +25 -25
  64. package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +19 -16
  65. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
  66. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
  67. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +0 -88
  68. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +0 -753
  69. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
  70. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/analytics/coremldata.bin +0 -0
  71. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/coremldata.bin +0 -0
  72. package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.weights +0 -0
  73. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
  74. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
  75. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +0 -88
  76. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +0 -753
  77. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
  78. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/analytics/coremldata.bin +0 -0
  79. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/coremldata.bin +0 -0
  80. package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc/model.espresso.weights +0 -0
  81. /package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/{int8_384x256_small2.mlmodelc → n2_384x256_int8.mlmodelc}/model/coremldata.bin +0 -0
  82. /package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/{int8_384x256_small2.mlmodelc → n2_384x256_int8.mlmodelc}/neural_network_optionals/coremldata.bin +0 -0
  83. /package/platforms/ios/Barkoder.xcframework/{ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc → ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc}/model/coremldata.bin +0 -0
  84. /package/platforms/ios/Barkoder.xcframework/{ios-arm64_x86_64-simulator/Barkoder.framework/int8_384x256_small2.mlmodelc → ios-arm64/Barkoder.framework/n2_512x384_int8.mlmodelc}/neural_network_optionals/coremldata.bin +0 -0
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
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
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
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 {
@@ -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()
@@ -127,6 +137,17 @@ extension UIKit.UIImage {
127
137
  @objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
128
138
  @objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
129
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()
130
151
  @_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
131
152
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
132
153
  @objc deinit
@@ -144,7 +165,9 @@ extension CoreFoundation.CGRect {
144
165
  case interactiveDisabled
145
166
  case interactiveEnabled
146
167
  case nonInteractive
168
+ #if compiler(>=5.3) && $NonescapableTypes
147
169
  public init?(rawValue: Swift.Int)
170
+ #endif
148
171
  public typealias RawValue = Swift.Int
149
172
  public var rawValue: Swift.Int {
150
173
  get
@@ -153,7 +176,9 @@ extension CoreFoundation.CGRect {
153
176
  @objc public enum BarkoderAROverlayRefresh : Swift.Int {
154
177
  case smooth
155
178
  case normal
179
+ #if compiler(>=5.3) && $NonescapableTypes
156
180
  public init?(rawValue: Swift.Int)
181
+ #endif
157
182
  public typealias RawValue = Swift.Int
158
183
  public var rawValue: Swift.Int {
159
184
  get
@@ -163,7 +188,9 @@ extension CoreFoundation.CGRect {
163
188
  case none
164
189
  case tight
165
190
  case boundingBox
191
+ #if compiler(>=5.3) && $NonescapableTypes
166
192
  public init?(rawValue: Swift.Int)
193
+ #endif
167
194
  public typealias RawValue = Swift.Int
168
195
  public var rawValue: Swift.Int {
169
196
  get
@@ -173,7 +200,9 @@ extension CoreFoundation.CGRect {
173
200
  case never
174
201
  case always
175
202
  case onSelected
203
+ #if compiler(>=5.3) && $NonescapableTypes
176
204
  public init?(rawValue: Swift.Int)
205
+ #endif
177
206
  public typealias RawValue = Swift.Int
178
207
  public var rawValue: Swift.Int {
179
208
  get
@@ -198,6 +227,9 @@ extension CoreFoundation.CGRect {
198
227
  @objc public var doubleTapToFreezeEnabled: Swift.Bool
199
228
  @objc public var imageResultEnabled: Swift.Bool
200
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
201
233
  @objc public var headerHeight: Swift.Float
202
234
  @objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
203
235
  @objc public var headerMaxTextHeight: Swift.Float
@@ -235,20 +267,35 @@ extension CoreFoundation.CGRect {
235
267
  case composite
236
268
  case postal_codes
237
269
  case ar
270
+ #if compiler(>=5.3) && $NonescapableTypes
238
271
  public init?(rawValue: Swift.Int)
272
+ #endif
239
273
  public typealias RawValue = Swift.Int
240
274
  public var rawValue: Swift.Int {
241
275
  get
242
276
  }
243
277
  }
244
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
245
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
246
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
247
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
248
289
  @objc public static func configToJSON(_ barkoderConfig: BarkoderSDK.BarkoderConfig) -> Swift.String?
290
+ #endif
249
291
  @objc override dynamic public init()
250
292
  @objc deinit
251
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
+ }
252
299
  extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Equatable {}
253
300
  extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Hashable {}
254
301
  extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.RawRepresentable {}
@@ -1,7 +1,7 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
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
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
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 {
@@ -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()
@@ -127,6 +137,17 @@ extension UIKit.UIImage {
127
137
  @objc @_Concurrency.MainActor @preconcurrency public func setDynamicExposure(_ intensity: Swift.Int)
128
138
  @objc @_Concurrency.MainActor @preconcurrency public func setCentricFocusAndExposure(_ enabled: Swift.Bool)
129
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()
130
151
  @_Concurrency.MainActor @preconcurrency @objc public func cameraFrameReceived(sampleBuffer: CoreMedia.CMSampleBuffer)
131
152
  @_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
132
153
  @objc deinit
@@ -144,7 +165,9 @@ extension CoreFoundation.CGRect {
144
165
  case interactiveDisabled
145
166
  case interactiveEnabled
146
167
  case nonInteractive
168
+ #if compiler(>=5.3) && $NonescapableTypes
147
169
  public init?(rawValue: Swift.Int)
170
+ #endif
148
171
  public typealias RawValue = Swift.Int
149
172
  public var rawValue: Swift.Int {
150
173
  get
@@ -153,7 +176,9 @@ extension CoreFoundation.CGRect {
153
176
  @objc public enum BarkoderAROverlayRefresh : Swift.Int {
154
177
  case smooth
155
178
  case normal
179
+ #if compiler(>=5.3) && $NonescapableTypes
156
180
  public init?(rawValue: Swift.Int)
181
+ #endif
157
182
  public typealias RawValue = Swift.Int
158
183
  public var rawValue: Swift.Int {
159
184
  get
@@ -163,7 +188,9 @@ extension CoreFoundation.CGRect {
163
188
  case none
164
189
  case tight
165
190
  case boundingBox
191
+ #if compiler(>=5.3) && $NonescapableTypes
166
192
  public init?(rawValue: Swift.Int)
193
+ #endif
167
194
  public typealias RawValue = Swift.Int
168
195
  public var rawValue: Swift.Int {
169
196
  get
@@ -173,7 +200,9 @@ extension CoreFoundation.CGRect {
173
200
  case never
174
201
  case always
175
202
  case onSelected
203
+ #if compiler(>=5.3) && $NonescapableTypes
176
204
  public init?(rawValue: Swift.Int)
205
+ #endif
177
206
  public typealias RawValue = Swift.Int
178
207
  public var rawValue: Swift.Int {
179
208
  get
@@ -198,6 +227,9 @@ extension CoreFoundation.CGRect {
198
227
  @objc public var doubleTapToFreezeEnabled: Swift.Bool
199
228
  @objc public var imageResultEnabled: Swift.Bool
200
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
201
233
  @objc public var headerHeight: Swift.Float
202
234
  @objc public var headerShowMode: BarkoderSDK.BarkoderARHeaderShowMode
203
235
  @objc public var headerMaxTextHeight: Swift.Float
@@ -235,20 +267,35 @@ extension CoreFoundation.CGRect {
235
267
  case composite
236
268
  case postal_codes
237
269
  case ar
270
+ #if compiler(>=5.3) && $NonescapableTypes
238
271
  public init?(rawValue: Swift.Int)
272
+ #endif
239
273
  public typealias RawValue = Swift.Int
240
274
  public var rawValue: Swift.Int {
241
275
  get
242
276
  }
243
277
  }
244
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
245
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
246
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
247
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
248
289
  @objc public static func configToJSON(_ barkoderConfig: BarkoderSDK.BarkoderConfig) -> Swift.String?
290
+ #endif
249
291
  @objc override dynamic public init()
250
292
  @objc deinit
251
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
+ }
252
299
  extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Equatable {}
253
300
  extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.Hashable {}
254
301
  extension BarkoderSDK.BarkoderView.BarkoderResolution : Swift.RawRepresentable {}