@thegrizzlylabs/react-native-genius-scan 6.0.0-beta13 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -7
- package/android/build.gradle +1 -1
- package/index.d.ts +15 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Assets.car +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCurvatureCorrectionConfiguration.h +11 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCurvatureLevel.h +28 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKCurvatureResult.h +26 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKProcessingResult.h +6 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +89 -15
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +2 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +2742 -2493
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +12 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +12 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/module.modulemap +0 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Assets.car +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCurvatureCorrectionConfiguration.h +11 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCurvatureLevel.h +28 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKCurvatureResult.h +26 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKProcessingResult.h +6 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +178 -30
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +2 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +2742 -2493
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +12 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +12 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2742 -2493
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +12 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +12 -111
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/module.modulemap +0 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name GSSDK
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import AVKit
|
|
7
7
|
import Combine
|
|
@@ -44,9 +44,7 @@ import _SwiftConcurrencyShims
|
|
|
44
44
|
@objc public var isBatchModeEnabled: Swift.Bool
|
|
45
45
|
@objc public var highlightColor: UIKit.UIColor
|
|
46
46
|
@objc public var menuColor: UIKit.UIColor?
|
|
47
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
48
47
|
public init(supportedCodeTypes: [GSSDK.GSKBarcodeType] = [], isBatchModeEnabled: Swift.Bool = false, highlightColor: UIKit.UIColor? = nil, menuColor: UIKit.UIColor? = nil)
|
|
49
|
-
#endif
|
|
50
48
|
@objc override dynamic public init()
|
|
51
49
|
@objc deinit
|
|
52
50
|
}
|
|
@@ -62,9 +60,7 @@ extension GSSDK.GSKBarcodeScanFlowResult {
|
|
|
62
60
|
@objc deinit
|
|
63
61
|
}
|
|
64
62
|
public protocol CGImageRepresentable {
|
|
65
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
66
63
|
func cgImageRepresentation() -> CoreGraphics.CGImage?
|
|
67
|
-
#endif
|
|
68
64
|
}
|
|
69
65
|
extension AVFoundation.AVCapturePhoto : GSSDK.CGImageRepresentable {
|
|
70
66
|
}
|
|
@@ -114,9 +110,7 @@ extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
|
|
|
114
110
|
case invalidData = -7
|
|
115
111
|
case badInput = -8
|
|
116
112
|
case warnLockDevice = -1003
|
|
117
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
118
113
|
public init?(rawValue: Swift.Int)
|
|
119
|
-
#endif
|
|
120
114
|
public typealias RawValue = Swift.Int
|
|
121
115
|
public var rawValue: Swift.Int {
|
|
122
116
|
get
|
|
@@ -152,39 +146,25 @@ extension GSSDK.GSKCameraViewController {
|
|
|
152
146
|
}
|
|
153
147
|
public var documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection?
|
|
154
148
|
public var barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection?
|
|
155
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
156
149
|
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection? = nil)
|
|
157
|
-
#endif
|
|
158
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
159
150
|
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection? = nil, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection)
|
|
160
|
-
#endif
|
|
161
151
|
}
|
|
162
152
|
}
|
|
163
153
|
extension GSSDK.GSKCameraViewController.Configuration {
|
|
164
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
165
154
|
public static func documentDetection(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
166
|
-
#endif
|
|
167
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
168
155
|
public static func barcodeDetection(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
169
|
-
#endif
|
|
170
156
|
}
|
|
171
157
|
extension GSSDK.GSKCameraViewController.Configuration.DocumentDetection {
|
|
172
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
173
158
|
public static func `default`(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.DocumentDetection
|
|
174
|
-
#endif
|
|
175
159
|
}
|
|
176
160
|
extension GSSDK.GSKCameraViewController.Configuration.BarcodeDetection {
|
|
177
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
178
161
|
public static func `default`(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.BarcodeDetection
|
|
179
|
-
#endif
|
|
180
162
|
}
|
|
181
163
|
extension GSSDK.GSKCameraViewController {
|
|
182
164
|
@objc public enum DocumentDetectionMode : Swift.Int, Swift.Equatable {
|
|
183
165
|
case highlightOnly
|
|
184
166
|
case highlightAndAutoCapture
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
167
|
public init?(rawValue: Swift.Int)
|
|
187
|
-
#endif
|
|
188
168
|
public typealias RawValue = Swift.Int
|
|
189
169
|
public var rawValue: Swift.Int {
|
|
190
170
|
get
|
|
@@ -199,9 +179,7 @@ extension GSSDK.GSKCameraViewController {
|
|
|
199
179
|
case videoDeviceNotAvailableWithMultipleForegroundApps
|
|
200
180
|
case videoDeviceNotAvailableDueToSystemPressure
|
|
201
181
|
case unknown
|
|
202
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
203
182
|
public init?(rawValue: Swift.Int)
|
|
204
|
-
#endif
|
|
205
183
|
public typealias RawValue = Swift.Int
|
|
206
184
|
public var rawValue: Swift.Int {
|
|
207
185
|
get
|
|
@@ -229,10 +207,8 @@ extension GSSDK.GSKCameraViewController {
|
|
|
229
207
|
set
|
|
230
208
|
}
|
|
231
209
|
@_Concurrency.MainActor @preconcurrency public init(configuration: GSSDK.GSKCameraViewController.Configuration) async throws
|
|
232
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
233
210
|
@available(*, unavailable)
|
|
234
211
|
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
235
|
-
#endif
|
|
236
212
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
237
213
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
|
|
238
214
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
|
|
@@ -262,6 +238,9 @@ extension GSSDK.GSKCameraViewController {
|
|
|
262
238
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didGenerateScan scan: GSSDK.GSKScan)
|
|
263
239
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindBarcodes barcodes: [GSSDK.GSKBarcode])
|
|
264
240
|
}
|
|
241
|
+
extension GSSDK.GSKCurvatureLevel : Swift.Comparable {
|
|
242
|
+
public static func < (lhs: GSSDK.GSKCurvatureLevel, rhs: GSSDK.GSKCurvatureLevel) -> Swift.Bool
|
|
243
|
+
}
|
|
265
244
|
extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
266
245
|
public var description: Swift.String {
|
|
267
246
|
get
|
|
@@ -282,18 +261,14 @@ extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
|
282
261
|
case unwarped
|
|
283
262
|
case warped
|
|
284
263
|
case enhanced
|
|
285
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
286
264
|
public init?(rawValue: Swift.Int)
|
|
287
|
-
#endif
|
|
288
265
|
public typealias RawValue = Swift.Int
|
|
289
266
|
public var rawValue: Swift.Int {
|
|
290
267
|
get
|
|
291
268
|
}
|
|
292
269
|
}
|
|
293
270
|
@_Concurrency.MainActor public protocol GSKDocumentOverlayType : UIKit.UIView {
|
|
294
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
295
271
|
@_Concurrency.MainActor func documentQuadrangleDidChange(_ quadrangle: GSSDK.GSKQuadrangle?)
|
|
296
|
-
#endif
|
|
297
272
|
@_Concurrency.MainActor func onSearchingForDocument()
|
|
298
273
|
@_Concurrency.MainActor func onStabilizingAndTakingPhoto(withStabilizationDuration duration: Foundation.TimeInterval)
|
|
299
274
|
}
|
|
@@ -344,10 +319,8 @@ extension GSSDK.GSKEdgeCleaning : Swift.CustomStringConvertible {
|
|
|
344
319
|
@objc set
|
|
345
320
|
}
|
|
346
321
|
@objc @_Concurrency.MainActor @preconcurrency public init(image: UIKit.UIImage, quadrangle: GSSDK.GSKQuadrangle)
|
|
347
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
348
322
|
@available(*, unavailable)
|
|
349
323
|
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
350
|
-
#endif
|
|
351
324
|
@objc @_Concurrency.MainActor @preconcurrency public func setQuadrangle(_ quadrangle: GSSDK.GSKQuadrangle, animated: Swift.Bool)
|
|
352
325
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
353
326
|
@objc deinit
|
|
@@ -364,9 +337,7 @@ extension GSSDK.GSKFilterBackgroundCleaningConfiguration {
|
|
|
364
337
|
@objc override final public var hash: Swift.Int {
|
|
365
338
|
@objc get
|
|
366
339
|
}
|
|
367
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
368
340
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
369
|
-
#endif
|
|
370
341
|
}
|
|
371
342
|
extension GSSDK.GSKFilterBackgroundCleaningConfiguration {
|
|
372
343
|
@objc override final public var description: Swift.String {
|
|
@@ -385,9 +356,7 @@ extension GSSDK.GSKFilterColorConfiguration {
|
|
|
385
356
|
@objc override final public var hash: Swift.Int {
|
|
386
357
|
@objc get
|
|
387
358
|
}
|
|
388
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
389
359
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
390
|
-
#endif
|
|
391
360
|
}
|
|
392
361
|
extension GSSDK.GSKFilterColorConfiguration {
|
|
393
362
|
@objc override final public var description: Swift.String {
|
|
@@ -424,27 +393,19 @@ extension GSSDK.GSKFilterColorPalette : Swift.CustomStringConvertible {
|
|
|
424
393
|
}
|
|
425
394
|
@objc @objcMembers final public class GSKFilterConfiguration : ObjectiveC.NSObject {
|
|
426
395
|
@objc public static let noOp: GSSDK.GSKFilterConfiguration
|
|
427
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
428
396
|
@objc public static func photo(lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?, colorConfiguration: GSSDK.GSKFilterColorConfiguration?) -> GSSDK.GSKFilterConfiguration
|
|
429
|
-
#endif
|
|
430
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
431
397
|
@objc public static func configurationWithLightingCorrectionConfiguration(_ lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?, backgroundCleaningConfiguration: GSSDK.GSKFilterBackgroundCleaningConfiguration?, colorConfiguration: GSSDK.GSKFilterColorConfiguration?) -> GSSDK.GSKFilterConfiguration
|
|
432
|
-
#endif
|
|
433
398
|
@objc final public let lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?
|
|
434
399
|
@objc final public let backgroundCleaningConfiguration: GSSDK.GSKFilterBackgroundCleaningConfiguration?
|
|
435
400
|
@objc final public let colorConfiguration: GSSDK.GSKFilterColorConfiguration?
|
|
436
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
437
401
|
@objc public init(lightingCorrectionConfiguration: GSSDK.GSKFilterLightingCorrectionConfiguration?, backgroundCleaningConfiguration: GSSDK.GSKFilterBackgroundCleaningConfiguration?, colorConfiguration: GSSDK.GSKFilterColorConfiguration?)
|
|
438
|
-
#endif
|
|
439
402
|
@objc deinit
|
|
440
403
|
}
|
|
441
404
|
extension GSSDK.GSKFilterConfiguration {
|
|
442
405
|
@objc override final public var hash: Swift.Int {
|
|
443
406
|
@objc get
|
|
444
407
|
}
|
|
445
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
446
408
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
447
|
-
#endif
|
|
448
409
|
}
|
|
449
410
|
@objc @objcMembers public class GSKFilterLightingCorrectionConfiguration : ObjectiveC.NSObject {
|
|
450
411
|
@objc public static let noOp: GSSDK.GSKFilterLightingCorrectionConfiguration
|
|
@@ -459,9 +420,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
459
420
|
@objc override dynamic public var hash: Swift.Int {
|
|
460
421
|
@objc get
|
|
461
422
|
}
|
|
462
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
463
423
|
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
|
|
464
|
-
#endif
|
|
465
424
|
}
|
|
466
425
|
extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
467
426
|
@objc override dynamic public var description: Swift.String {
|
|
@@ -472,9 +431,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
472
431
|
case auto
|
|
473
432
|
case on
|
|
474
433
|
case off
|
|
475
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
476
434
|
public init?(rawValue: Swift.Int)
|
|
477
|
-
#endif
|
|
478
435
|
public typealias RawValue = Swift.Int
|
|
479
436
|
public var rawValue: Swift.Int {
|
|
480
437
|
get
|
|
@@ -487,9 +444,7 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
487
444
|
case flutter
|
|
488
445
|
case dotnet
|
|
489
446
|
case capacitor
|
|
490
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
491
447
|
public init?(rawValue: Swift.Int)
|
|
492
|
-
#endif
|
|
493
448
|
public typealias RawValue = Swift.Int
|
|
494
449
|
public var rawValue: Swift.Int {
|
|
495
450
|
get
|
|
@@ -515,9 +470,7 @@ extension GSSDK.GSKReadabilityLevel : Swift.Comparable {
|
|
|
515
470
|
case restaurant
|
|
516
471
|
case supermarket
|
|
517
472
|
case other
|
|
518
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
519
473
|
public init?(rawValue: Swift.Int)
|
|
520
|
-
#endif
|
|
521
474
|
public typealias AllCases = [GSSDK.GSKReceiptCategory]
|
|
522
475
|
public typealias RawValue = Swift.Int
|
|
523
476
|
nonisolated public static var allCases: [GSSDK.GSKReceiptCategory] {
|
|
@@ -535,9 +488,7 @@ extension GSSDK.GSKReceiptCategory : Swift.CustomStringConvertible {
|
|
|
535
488
|
@_hasMissingDesignatedInitializers @objc final public class GSKReceiptVAT : ObjectiveC.NSObject {
|
|
536
489
|
final public let rate: Swift.Double
|
|
537
490
|
final public let amount: Swift.Double
|
|
538
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
539
491
|
@objc override final public func isEqual(_ object: Any?) -> Swift.Bool
|
|
540
|
-
#endif
|
|
541
492
|
@objc deinit
|
|
542
493
|
}
|
|
543
494
|
@_inheritsConvenienceInitializers @objc public class GSKDocumentGenerator : ObjectiveC.NSObject {
|
|
@@ -554,9 +505,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
554
505
|
@objc public enum GSKDocumentGeneratorFileFormat : Swift.Int {
|
|
555
506
|
@objc(GSKDocumentGeneratorFileFormatPDF) case pdf
|
|
556
507
|
@objc(GSKDocumentGeneratorFileFormatTIFF) case tiff
|
|
557
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
558
508
|
public init?(rawValue: Swift.Int)
|
|
559
|
-
#endif
|
|
560
509
|
public typealias RawValue = Swift.Int
|
|
561
510
|
public var rawValue: Swift.Int {
|
|
562
511
|
get
|
|
@@ -575,9 +524,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
575
524
|
@objc final public let pdfFontFilePath: Swift.String?
|
|
576
525
|
@objc final public let shouldGeneratePDFA: Swift.Bool
|
|
577
526
|
@objc final public let debugConfiguration: GSSDK.GSKDocumentGeneratorDebugConfiguration?
|
|
578
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
579
527
|
@objc public init(outputFileFormat: GSSDK.GSKDocumentGeneratorFileFormat = .pdf, outputFilePath: Swift.String, pdfFontFilePath: Swift.String? = nil, shouldGeneratePDFA: Swift.Bool = false, debugConfiguration: GSSDK.GSKDocumentGeneratorDebugConfiguration? = nil)
|
|
580
|
-
#endif
|
|
581
528
|
@objc deinit
|
|
582
529
|
}
|
|
583
530
|
@objc extension GSSDK.GSKDocumentGeneratorConfiguration {
|
|
@@ -591,23 +538,17 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
591
538
|
@objc(GSKDocumentGeneratorErrorInvalidPageSize) case invalidPageSize
|
|
592
539
|
@objc(GSKDocumentGeneratorErrorProcessorError) case processorError
|
|
593
540
|
@objc(GSKDocumentGeneratorErrorInvalidInput) case invalidInput
|
|
594
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
595
541
|
public init?(rawValue: Swift.Int)
|
|
596
|
-
#endif
|
|
597
542
|
public typealias RawValue = Swift.Int
|
|
598
543
|
public var rawValue: Swift.Int {
|
|
599
544
|
get
|
|
600
545
|
}
|
|
601
546
|
}
|
|
602
547
|
@objc public protocol GSKDocumentImageProcessor {
|
|
603
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
604
548
|
@objc func process(_ inputFilePath: Swift.String) -> Swift.String?
|
|
605
|
-
#endif
|
|
606
549
|
}
|
|
607
550
|
@_inheritsConvenienceInitializers @objc final public class GSKNoopDocumentImageProcessor : ObjectiveC.NSObject, GSSDK.GSKDocumentImageProcessor {
|
|
608
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
609
551
|
@objc final public func process(_ inputFilePath: Swift.String) -> Swift.String?
|
|
610
|
-
#endif
|
|
611
552
|
@objc override dynamic public init()
|
|
612
553
|
@objc deinit
|
|
613
554
|
}
|
|
@@ -622,18 +563,14 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
622
563
|
@objc final public let creationDate: Foundation.Date?
|
|
623
564
|
@objc final public let lastUpdateDate: Foundation.Date?
|
|
624
565
|
@objc final public let pages: [GSSDK.GSKPDFPage]
|
|
625
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
626
566
|
@objc public init(title: Swift.String? = nil, password: Swift.String?, keywords: Swift.String?, creationDate: Foundation.Date?, lastUpdate: Foundation.Date?, pages: [GSSDK.GSKPDFPage])
|
|
627
|
-
#endif
|
|
628
567
|
@objc deinit
|
|
629
568
|
}
|
|
630
569
|
@objc final public class GSKPDFPage : ObjectiveC.NSObject {
|
|
631
570
|
@objc final public let filePath: Swift.String
|
|
632
571
|
@objc final public let inchesSize: GSSDK.GSKPDFSize
|
|
633
572
|
@objc final public let textLayout: GSSDK.GSKTextLayout?
|
|
634
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
635
573
|
@objc public init(filePath: Swift.String, inchesSize: GSSDK.GSKPDFSize, textLayout: GSSDK.GSKTextLayout?)
|
|
636
|
-
#endif
|
|
637
574
|
@objc deinit
|
|
638
575
|
}
|
|
639
576
|
@objc final public class GSKPDFSize : ObjectiveC.NSObject {
|
|
@@ -644,9 +581,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
644
581
|
}
|
|
645
582
|
@objc final public class GSKTextLayout : ObjectiveC.NSObject {
|
|
646
583
|
@objc final public let hocr: Swift.String?
|
|
647
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
648
584
|
@objc public init(hocr: Swift.String?)
|
|
649
|
-
#endif
|
|
650
585
|
@objc deinit
|
|
651
586
|
}
|
|
652
587
|
@objc @_inheritsConvenienceInitializers final public class GSKTextLayoutToTextConverter : ObjectiveC.NSObject {
|
|
@@ -697,8 +632,13 @@ extension SwiftUICore.Image {
|
|
|
697
632
|
public enum GSSDKStrings {
|
|
698
633
|
public enum Gssdk {
|
|
699
634
|
public static let gssdkSettings: Swift.String
|
|
635
|
+
public enum Accessibility {
|
|
636
|
+
public enum Value {
|
|
637
|
+
public static let off: Swift.String
|
|
638
|
+
public static let on: Swift.String
|
|
639
|
+
}
|
|
640
|
+
}
|
|
700
641
|
public enum Action {
|
|
701
|
-
public static let addPage: Swift.String
|
|
702
642
|
public static let back: Swift.String
|
|
703
643
|
public static let cancel: Swift.String
|
|
704
644
|
public static let capture: Swift.String
|
|
@@ -713,7 +653,6 @@ public enum GSSDKStrings {
|
|
|
713
653
|
public static let next: Swift.String
|
|
714
654
|
public static let photoLibrary: Swift.String
|
|
715
655
|
public static let recrop: Swift.String
|
|
716
|
-
public static let retry: Swift.String
|
|
717
656
|
public static let rotateLeft: Swift.String
|
|
718
657
|
public static let selectAll: Swift.String
|
|
719
658
|
public enum ChangeFilter {
|
|
@@ -804,21 +743,15 @@ public enum GSSDKStrings {
|
|
|
804
743
|
@_inheritsConvenienceInitializers @objc final public class GSKOCR : ObjectiveC.NSObject {
|
|
805
744
|
@objc public init(logger: any GSSDK.GSKLogger)
|
|
806
745
|
@objc override convenience dynamic public init()
|
|
807
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
808
746
|
final public func recognizeText(in ocrInput: GSSDK.GSKOCRInput, configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
|
|
809
|
-
#endif
|
|
810
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
811
747
|
@objc final public func recognizeText(forImageAtPath imagePath: Swift.String, configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
|
|
812
|
-
#endif
|
|
813
748
|
@objc deinit
|
|
814
749
|
}
|
|
815
750
|
public struct GSKOCRInput {
|
|
816
751
|
public let originalImagePath: Swift.String
|
|
817
752
|
public let quadrangle: GSSDK.GSKQuadrangle?
|
|
818
753
|
public let rotation: GSSDK.GSKRotation
|
|
819
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
820
754
|
public init(originalImagePath: Swift.String, quadrangle: GSSDK.GSKQuadrangle? = nil, rotation: GSSDK.GSKRotation = .none)
|
|
821
|
-
#endif
|
|
822
755
|
}
|
|
823
756
|
public struct GSKOCRLanguage {
|
|
824
757
|
public static var allLanguages: [GSSDK.GSKOCRLanguage]
|
|
@@ -897,9 +830,7 @@ extension GSSDK.GSKScanFlowConfiguration {
|
|
|
897
830
|
public enum GSKScanFlowCurvatureCorrectionMode : Swift.String {
|
|
898
831
|
case disabled
|
|
899
832
|
case enabled
|
|
900
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
901
833
|
public init?(rawValue: Swift.String)
|
|
902
|
-
#endif
|
|
903
834
|
public typealias RawValue = Swift.String
|
|
904
835
|
public var rawValue: Swift.String {
|
|
905
836
|
get
|
|
@@ -918,9 +849,7 @@ public struct GSKScanFlowError : Swift.Error {
|
|
|
918
849
|
@objc(GSKScanFlowCaptureErrorCode) case capture = 1002
|
|
919
850
|
@objc(GSKScanFlowStorageSpaceErrorCode) case storageSpace = 1003
|
|
920
851
|
@objc(GSKScanFlowInternalErrorCode) case `internal` = 9999
|
|
921
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
922
852
|
public init?(rawValue: Swift.Int)
|
|
923
|
-
#endif
|
|
924
853
|
public typealias RawValue = Swift.Int
|
|
925
854
|
public var rawValue: Swift.Int {
|
|
926
855
|
get
|
|
@@ -953,9 +882,7 @@ extension GSSDK.GSKScanFlowError : Foundation.CustomNSError {
|
|
|
953
882
|
@objc(GSKScanFlowFilterStrongColor) case strongColor
|
|
954
883
|
@objc(GSKScanFlowFilterDarkBackground) case darkBackground
|
|
955
884
|
@objc(GSKScanFlowFilterPhoto) case photo
|
|
956
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
957
885
|
public init?(rawValue: Swift.Int)
|
|
958
|
-
#endif
|
|
959
886
|
public typealias AllCases = [GSSDK.GSKScanFlowFilterType]
|
|
960
887
|
public typealias RawValue = Swift.Int
|
|
961
888
|
nonisolated public static var allCases: [GSSDK.GSKScanFlowFilterType] {
|
|
@@ -974,9 +901,7 @@ extension GSSDK.GSKScanFlowFilterType : Swift.CustomStringConvertible {
|
|
|
974
901
|
case auto
|
|
975
902
|
case on
|
|
976
903
|
case off
|
|
977
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
978
904
|
public init?(rawValue: Swift.UInt)
|
|
979
|
-
#endif
|
|
980
905
|
public typealias AllCases = [GSSDK.GSKScanFlowFlashMode]
|
|
981
906
|
public typealias RawValue = Swift.UInt
|
|
982
907
|
nonisolated public static var allCases: [GSSDK.GSKScanFlowFlashMode] {
|
|
@@ -995,9 +920,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
995
920
|
@objc(GSKScanFlowNone) case none
|
|
996
921
|
@objc(GSKScanFlowPDF) case pdf
|
|
997
922
|
@objc(GSKScanFlowTIFF) case tiff
|
|
998
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
999
923
|
public init?(rawValue: Swift.UInt)
|
|
1000
|
-
#endif
|
|
1001
924
|
public typealias RawValue = Swift.UInt
|
|
1002
925
|
public var rawValue: Swift.UInt {
|
|
1003
926
|
get
|
|
@@ -1019,9 +942,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
1019
942
|
@objc(GSKScanFlowPDFPageFit) case fit
|
|
1020
943
|
@objc(GSKScanFlowPDFPageA4) case A4
|
|
1021
944
|
@objc(GSKScanFlowPDFPageLetter) case letter
|
|
1022
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1023
945
|
public init?(rawValue: Swift.UInt)
|
|
1024
|
-
#endif
|
|
1025
946
|
public typealias RawValue = Swift.UInt
|
|
1026
947
|
public var rawValue: Swift.UInt {
|
|
1027
948
|
get
|
|
@@ -1051,9 +972,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
1051
972
|
case camera
|
|
1052
973
|
case imageURL
|
|
1053
974
|
case library
|
|
1054
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1055
975
|
public init?(rawValue: Swift.UInt)
|
|
1056
|
-
#endif
|
|
1057
976
|
public typealias AllCases = [GSSDK.GSKScanFlowSource]
|
|
1058
977
|
public typealias RawValue = Swift.UInt
|
|
1059
978
|
nonisolated public static var allCases: [GSSDK.GSKScanFlowSource] {
|
|
@@ -1079,9 +998,7 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
1079
998
|
@objc public enum GSKScanOrientation : Swift.Int, Swift.CaseIterable {
|
|
1080
999
|
case original
|
|
1081
1000
|
case automatic
|
|
1082
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1083
1001
|
public init?(rawValue: Swift.Int)
|
|
1084
|
-
#endif
|
|
1085
1002
|
public typealias AllCases = [GSSDK.GSKScanOrientation]
|
|
1086
1003
|
public typealias RawValue = Swift.Int
|
|
1087
1004
|
nonisolated public static var allCases: [GSSDK.GSKScanOrientation] {
|
|
@@ -1106,18 +1023,14 @@ extension GSSDK.GSKScanOrientation : Swift.CustomStringConvertible {
|
|
|
1106
1023
|
@_Concurrency.MainActor @preconcurrency public var configuration: () -> GSSDK.GSKScanFlowConfiguration
|
|
1107
1024
|
@_Concurrency.MainActor @preconcurrency public var action: (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void
|
|
1108
1025
|
@_Concurrency.MainActor @preconcurrency public var label: () -> Label
|
|
1109
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1110
1026
|
@_Concurrency.MainActor @preconcurrency public init(configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void, @SwiftUICore.ViewBuilder label: @escaping () -> Label)
|
|
1111
|
-
#endif
|
|
1112
1027
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
1113
1028
|
get
|
|
1114
1029
|
}
|
|
1115
1030
|
public typealias Body = @_opaqueReturnTypeOf("$s5GSSDK17GSKScanFlowButtonV4bodyQrvp", 0) __<Label>
|
|
1116
1031
|
}
|
|
1117
1032
|
extension GSSDK.GSKScanFlowButton where Label == SwiftUICore.Text {
|
|
1118
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1119
1033
|
@_Concurrency.MainActor @preconcurrency public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
1120
|
-
#endif
|
|
1121
1034
|
}
|
|
1122
1035
|
@objc public class GSKBarcode : ObjectiveC.NSObject {
|
|
1123
1036
|
final public let value: Swift.String
|
|
@@ -1132,9 +1045,7 @@ extension GSSDK.GSKBarcode {
|
|
|
1132
1045
|
}
|
|
1133
1046
|
}
|
|
1134
1047
|
extension GSSDK.GSKBarcode {
|
|
1135
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1136
1048
|
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
|
|
1137
|
-
#endif
|
|
1138
1049
|
}
|
|
1139
1050
|
final public class GSKBarcodeDetector {
|
|
1140
1051
|
public init(logger: any GSSDK.GSKLogger = GSKLog())
|
|
@@ -1158,9 +1069,7 @@ public enum GSKBarcodeType : Swift.String, Swift.CaseIterable {
|
|
|
1158
1069
|
case microPDF417
|
|
1159
1070
|
case microQR
|
|
1160
1071
|
case msiPlessey
|
|
1161
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1162
1072
|
public init?(rawValue: Swift.String)
|
|
1163
|
-
#endif
|
|
1164
1073
|
public typealias AllCases = [GSSDK.GSKBarcodeType]
|
|
1165
1074
|
public typealias RawValue = Swift.String
|
|
1166
1075
|
nonisolated public static var allCases: [GSSDK.GSKBarcodeType] {
|
|
@@ -1198,21 +1107,13 @@ public enum GSKBarcodeType : Swift.String, Swift.CaseIterable {
|
|
|
1198
1107
|
@objc deinit
|
|
1199
1108
|
}
|
|
1200
1109
|
@objc extension GSSDK.GSKStructuredDataExtractor {
|
|
1201
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1202
1110
|
@objc final public func bankDetailsFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataBankDetails?
|
|
1203
|
-
#endif
|
|
1204
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1205
1111
|
@objc final public func businessCardContactFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataContact?
|
|
1206
|
-
#endif
|
|
1207
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1208
1112
|
@objc final public func receiptFromOCRResult(_ ocrResult: GSSDK.GSKOCRResult) async throws -> GSSDK.GSKStructuredDataReceipt?
|
|
1209
|
-
#endif
|
|
1210
1113
|
}
|
|
1211
1114
|
@objc public enum GSKStructuredDataExtractorError : Swift.Int, Swift.Error {
|
|
1212
1115
|
case missingRequiredOCRMetadata = -1
|
|
1213
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1214
1116
|
public init?(rawValue: Swift.Int)
|
|
1215
|
-
#endif
|
|
1216
1117
|
public typealias RawValue = Swift.Int
|
|
1217
1118
|
public static var _nsErrorDomain: Swift.String {
|
|
1218
1119
|
get
|