@thegrizzlylabs/react-native-genius-scan 5.17.3 → 6.0.0-beta02
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 +4 -4
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/geniusscansdk/reactnative/RNGeniusScanModule.java +12 -10
- package/index.d.ts +7 -7
- package/index.js +1 -1
- package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -5
- 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/DeviceList.plist +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/DeviceGuru_DeviceGuru.bundle/PrivacyInfo.xcprivacy +34 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKDefaultLogLevel.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKDocumentDetector.h +5 -3
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEnhancementConfiguration.h +0 -8
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKError.h +7 -3
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKLog.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKLogger.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKProcessingResult.h +0 -4
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKQuadrangle.h +1 -7
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKReadabilityResult.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKRotation.h +5 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +2 -2
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanProcessor.h +6 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +459 -344
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +0 -6
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/UIImage+GSKUtils.h +12 -3
- 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 +19923 -17290
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +334 -279
- 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 +334 -279
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.stringsdict +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/fr.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.stringsdict +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/DeviceList.plist +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/DeviceGuru_DeviceGuru.bundle/PrivacyInfo.xcprivacy +34 -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/GSKDefaultLogLevel.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKDocumentDetector.h +5 -3
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEnhancementConfiguration.h +0 -8
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKError.h +7 -3
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKLog.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKLogger.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKProcessingResult.h +0 -4
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKQuadrangle.h +1 -7
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKReadabilityResult.h +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKRotation.h +5 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +2 -2
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanProcessor.h +6 -5
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +932 -702
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +0 -6
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/UIImage+GSKUtils.h +12 -3
- 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 +19923 -17290
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +334 -279
- 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 +334 -279
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +19923 -17290
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +334 -279
- 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 +334 -279
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.stringsdict +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/fr.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.stringsdict +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.stringsdict +0 -0
- package/ios/RNGeniusScan.m +8 -8
- package/package.json +1 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEditFrameView.h +0 -71
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEditFrameViewController.h +0 -62
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEditableFrame.h +0 -68
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKFilterType.h +0 -43
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKMBProgressHUD.h +0 -410
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKShutterView.h +0 -28
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKView.h +0 -70
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PrivateHeaders/png.h +0 -3358
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PrivateHeaders/pngconf.h +0 -615
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PrivateHeaders/pnglibconf.h +0 -233
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEditFrameView.h +0 -71
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEditFrameViewController.h +0 -62
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEditableFrame.h +0 -68
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKFilterType.h +0 -43
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKMBProgressHUD.h +0 -410
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKShutterView.h +0 -28
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKView.h +0 -70
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PrivateHeaders/png.h +0 -3358
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PrivateHeaders/pngconf.h +0 -615
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PrivateHeaders/pnglibconf.h +0 -233
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
2
|
// swift-compiler-version: Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
|
|
3
|
-
// swift-module-flags: -target arm64-apple-
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name GSSDK
|
|
4
4
|
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.3
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Combine
|
|
@@ -23,13 +23,68 @@ import Vision
|
|
|
23
23
|
import _Concurrency
|
|
24
24
|
import _StringProcessing
|
|
25
25
|
import _SwiftConcurrencyShims
|
|
26
|
-
@objc public
|
|
26
|
+
@objc @objcMembers @_Concurrency.MainActor final public class GSKBarcodeScanFlow : ObjectiveC.NSObject {
|
|
27
|
+
@objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKBarcodeScanFlowConfiguration = GSKBarcodeScanFlowConfiguration())
|
|
28
|
+
@objc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKBarcodeScanFlowResult
|
|
29
|
+
@objc deinit
|
|
30
|
+
}
|
|
31
|
+
@objc extension GSSDK.GSKBarcodeScanFlow {
|
|
32
|
+
@available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead.")
|
|
33
|
+
@objc(barcodeScanFlowWithConfiguration:) @_Concurrency.MainActor public static func barcodeScanFlowWithConfiguration(_ configuration: GSSDK.GSKBarcodeScanFlowConfiguration) -> Self
|
|
34
|
+
@available(swift, obsoleted: 1.0, message: "resultByStarting(fromViewController:) instead.")
|
|
35
|
+
@objc(startFromViewController:success:failure:) nonisolated final public func startFromViewController(_ viewController: UIKit.UIViewController, success successBlock: @escaping (GSSDK.GSKBarcodeScanFlowResult) -> Swift.Void, failure failureBlock: @escaping (Foundation.NSError) -> Swift.Void)
|
|
36
|
+
}
|
|
37
|
+
@objc extension GSSDK.GSKBarcodeScanFlowConfiguration {
|
|
38
|
+
@objc public static func configurationWithDictionary(_ dictionary: Foundation.NSDictionary) throws -> GSSDK.GSKBarcodeScanFlowConfiguration
|
|
39
|
+
@objc public static func configurationWithJSON(_ json: Swift.String) throws -> GSSDK.GSKBarcodeScanFlowConfiguration
|
|
40
|
+
}
|
|
41
|
+
@objc @_inheritsConvenienceInitializers @objcMembers public class GSKBarcodeScanFlowConfiguration : ObjectiveC.NSObject {
|
|
42
|
+
public var supportedCodeTypes: [GSSDK.GSKBarcodeType]
|
|
43
|
+
@objc public var isBatchModeEnabled: Swift.Bool
|
|
44
|
+
@objc public var highlightColor: UIKit.UIColor
|
|
45
|
+
@objc public var menuColor: UIKit.UIColor?
|
|
27
46
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
28
|
-
|
|
47
|
+
public init(supportedCodeTypes: [GSSDK.GSKBarcodeType] = [], isBatchModeEnabled: Swift.Bool = false, highlightColor: UIKit.UIColor? = nil, menuColor: UIKit.UIColor? = nil)
|
|
48
|
+
#endif
|
|
49
|
+
@objc override dynamic public init()
|
|
50
|
+
@objc deinit
|
|
51
|
+
}
|
|
52
|
+
extension GSSDK.GSKBarcodeScanFlowResult {
|
|
53
|
+
@objc dynamic public var dictionary: [Swift.String : Any] {
|
|
54
|
+
@objc get
|
|
55
|
+
}
|
|
56
|
+
@objc dynamic public func json() -> Swift.String
|
|
57
|
+
}
|
|
58
|
+
@objc @objcMembers public class GSKBarcodeScanFlowResult : ObjectiveC.NSObject {
|
|
59
|
+
@objc final public let barcodes: [GSSDK.GSKBarcode]
|
|
60
|
+
@objc public init(barcodes: [GSSDK.GSKBarcode])
|
|
61
|
+
@objc deinit
|
|
62
|
+
}
|
|
63
|
+
public protocol CGImageRepresentable {
|
|
64
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
65
|
+
func cgImageRepresentation() -> CoreGraphics.CGImage?
|
|
29
66
|
#endif
|
|
30
67
|
}
|
|
31
68
|
extension AVFoundation.AVCapturePhoto : GSSDK.CGImageRepresentable {
|
|
32
69
|
}
|
|
70
|
+
@objc extension GSSDK.GSKCurvatureCorrectionConfiguration : @unchecked Swift.Sendable {
|
|
71
|
+
}
|
|
72
|
+
@objc extension GSSDK.GSKEnhancementConfiguration : @unchecked Swift.Sendable {
|
|
73
|
+
}
|
|
74
|
+
@objc extension GSSDK.GSKFilterConfiguration : @unchecked Swift.Sendable {
|
|
75
|
+
}
|
|
76
|
+
@objc extension GSSDK.GSKPerspectiveCorrectionConfiguration : @unchecked Swift.Sendable {
|
|
77
|
+
}
|
|
78
|
+
@objc extension GSSDK.GSKProcessingConfiguration : @unchecked Swift.Sendable {
|
|
79
|
+
}
|
|
80
|
+
@objc extension GSSDK.GSKQuadrangle : @unchecked Swift.Sendable {
|
|
81
|
+
}
|
|
82
|
+
@objc extension GSSDK.GSKRotationConfiguration : @unchecked Swift.Sendable {
|
|
83
|
+
}
|
|
84
|
+
@objc extension GSSDK.GSKReadabilityConfiguration : @unchecked Swift.Sendable {
|
|
85
|
+
}
|
|
86
|
+
@objc extension GSSDK.GSKOutputConfiguration : @unchecked Swift.Sendable {
|
|
87
|
+
}
|
|
33
88
|
@_inheritsConvenienceInitializers @objc final public class GSK : ObjectiveC.NSObject {
|
|
34
89
|
@objc public static var sdkVersion: Swift.String {
|
|
35
90
|
@objc get
|
|
@@ -45,91 +100,8 @@ extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
|
|
|
45
100
|
get
|
|
46
101
|
}
|
|
47
102
|
}
|
|
48
|
-
@
|
|
49
|
-
@
|
|
50
|
-
@objc dynamic public var captureDevice: AVFoundation.AVCaptureDevice?
|
|
51
|
-
@objc public var captureSession: AVFoundation.AVCaptureSession?
|
|
52
|
-
@objc public var flashStatus: GSSDK.GSKCameraSessionFlashStatus
|
|
53
|
-
@Combine.Published @_projectedValueProperty($activeDetectionMode) public var activeDetectionMode: GSSDK.GSKCameraSessionDetectionMode {
|
|
54
|
-
get
|
|
55
|
-
}
|
|
56
|
-
public var $activeDetectionMode: Combine.Published<GSSDK.GSKCameraSessionDetectionMode>.Publisher {
|
|
57
|
-
get
|
|
58
|
-
}
|
|
59
|
-
@available(*, deprecated, message: "Use activeDetectionMode instead")
|
|
60
|
-
@objc dynamic public var activeDocumentDetection: GSSDK.GSKCameraSessionDocumentDetection {
|
|
61
|
-
@objc get
|
|
62
|
-
@objc set
|
|
63
|
-
}
|
|
64
|
-
@objc dynamic public var isTakingPhoto: Swift.Bool {
|
|
65
|
-
@objc get
|
|
66
|
-
}
|
|
67
|
-
@objc public var supportsFlash: Swift.Bool {
|
|
68
|
-
@objc get
|
|
69
|
-
}
|
|
70
|
-
@objc public var captureSessionQueue: Dispatch.DispatchQueue? {
|
|
71
|
-
get
|
|
72
|
-
}
|
|
73
|
-
@objc public var takePhotoQueue: Dispatch.DispatchQueue {
|
|
74
|
-
get
|
|
75
|
-
}
|
|
76
|
-
@objc convenience public init(configuration: GSSDK.GSKCameraSessionConfiguration)
|
|
77
|
-
@objc deinit
|
|
78
|
-
@objc(pauseSession) public func pause()
|
|
79
|
-
@objc(resumeSession) public func resume()
|
|
80
|
-
}
|
|
81
|
-
extension GSSDK.GSKCameraSession {
|
|
82
|
-
@objc dynamic public func takePhoto()
|
|
83
|
-
}
|
|
84
|
-
extension GSSDK.GSKCameraSession : AVFoundation.AVCaptureMetadataOutputObjectsDelegate {
|
|
85
|
-
@objc dynamic public func metadataOutput(_ output: AVFoundation.AVCaptureMetadataOutput, didOutput metadataObjects: [AVFoundation.AVMetadataObject], from connection: AVFoundation.AVCaptureConnection)
|
|
86
|
-
}
|
|
87
|
-
extension GSSDK.GSKCameraSession : AVFoundation.AVCapturePhotoCaptureDelegate {
|
|
88
|
-
@objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, willBeginCaptureFor resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings)
|
|
89
|
-
@objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, willCapturePhotoFor resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings)
|
|
90
|
-
@objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, didCapturePhotoFor resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings)
|
|
91
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
92
|
-
@objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVFoundation.AVCapturePhoto, error: (any Swift.Error)?)
|
|
93
|
-
#endif
|
|
94
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
95
|
-
@objc dynamic public func photoOutput(_ output: AVFoundation.AVCapturePhotoOutput, didFinishCaptureFor resolvedSettings: AVFoundation.AVCaptureResolvedPhotoSettings, error: (any Swift.Error)?)
|
|
96
|
-
#endif
|
|
97
|
-
}
|
|
98
|
-
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKCameraSessionConfiguration : ObjectiveC.NSObject {
|
|
99
|
-
@objc @available(*, deprecated, message: "Use init(detectionMode:) instead")
|
|
100
|
-
public init(documentDetection: GSSDK.GSKCameraSessionDocumentDetection)
|
|
101
|
-
public init(detectionMode: GSSDK.GSKCameraSessionDetectionMode, readableCodeTypes: [GSSDK.GSKStructuredDataReadableCodeType] = GSKStructuredDataReadableCodeType.allCases)
|
|
102
|
-
@objc override convenience dynamic public init()
|
|
103
|
-
@objc deinit
|
|
104
|
-
}
|
|
105
|
-
public enum GSKCameraSessionDetectionMode : Swift.Equatable {
|
|
106
|
-
case disabled
|
|
107
|
-
case document(mode: GSSDK.GSKCameraSessionDetectionMode.DocumentMode)
|
|
108
|
-
case readableCode
|
|
109
|
-
public static func == (a: GSSDK.GSKCameraSessionDetectionMode, b: GSSDK.GSKCameraSessionDetectionMode) -> Swift.Bool
|
|
110
|
-
}
|
|
111
|
-
extension GSSDK.GSKCameraSessionDetectionMode {
|
|
112
|
-
public enum DocumentMode : Swift.Equatable {
|
|
113
|
-
case highlightOnly
|
|
114
|
-
case highlightAndAutoCapture
|
|
115
|
-
public static func == (a: GSSDK.GSKCameraSessionDetectionMode.DocumentMode, b: GSSDK.GSKCameraSessionDetectionMode.DocumentMode) -> Swift.Bool
|
|
116
|
-
public func hash(into hasher: inout Swift.Hasher)
|
|
117
|
-
public var hashValue: Swift.Int {
|
|
118
|
-
get
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
@objc public enum GSKCameraSessionDocumentDetection : Swift.Int {
|
|
123
|
-
case none
|
|
124
|
-
case highlight
|
|
125
|
-
case highlightAndTrigger
|
|
126
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
127
|
-
public init?(rawValue: Swift.Int)
|
|
128
|
-
#endif
|
|
129
|
-
public typealias RawValue = Swift.Int
|
|
130
|
-
public var rawValue: Swift.Int {
|
|
131
|
-
get
|
|
132
|
-
}
|
|
103
|
+
@_Concurrency.MainActor public protocol GSKBarcodeOverlayType : UIKit.UIView {
|
|
104
|
+
@_Concurrency.MainActor func configure(with barcode: GSSDK.GSKBarcode)
|
|
133
105
|
}
|
|
134
106
|
@objc public enum GSKCameraSessionError : Swift.Int {
|
|
135
107
|
case other = -1
|
|
@@ -149,72 +121,129 @@ extension GSSDK.GSKCameraSessionDetectionMode {
|
|
|
149
121
|
get
|
|
150
122
|
}
|
|
151
123
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
124
|
+
extension GSSDK.GSKCameraViewController {
|
|
125
|
+
public struct Configuration {
|
|
126
|
+
public struct DocumentDetection {
|
|
127
|
+
public var detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode
|
|
128
|
+
public var overlayViewProvider: @_Concurrency.MainActor () -> any GSSDK.GSKDocumentOverlayType
|
|
129
|
+
public init(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode, overlayViewProvider: @escaping () -> any GSSDK.GSKDocumentOverlayType)
|
|
130
|
+
}
|
|
131
|
+
public struct BarcodeDetection {
|
|
132
|
+
public var codeTypes: [GSSDK.GSKBarcodeType]
|
|
133
|
+
public var overlayProvider: @_Concurrency.MainActor () -> any GSSDK.GSKBarcodeOverlayType
|
|
134
|
+
public init(codeTypes: [GSSDK.GSKBarcodeType], overlayProvider: @escaping () -> any GSSDK.GSKBarcodeOverlayType)
|
|
135
|
+
}
|
|
136
|
+
public var documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection?
|
|
137
|
+
public var barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection?
|
|
138
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
139
|
+
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection? = nil)
|
|
140
|
+
#endif
|
|
141
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
142
|
+
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection? = nil, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection)
|
|
143
|
+
#endif
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
extension GSSDK.GSKCameraViewController.Configuration {
|
|
156
147
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
157
|
-
public
|
|
148
|
+
public static func documentDetection(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
158
149
|
#endif
|
|
159
|
-
|
|
160
|
-
public
|
|
161
|
-
|
|
150
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
151
|
+
public static func barcodeDetection(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
152
|
+
#endif
|
|
153
|
+
}
|
|
154
|
+
extension GSSDK.GSKCameraViewController.Configuration.DocumentDetection {
|
|
155
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
156
|
+
public static func `default`(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.DocumentDetection
|
|
157
|
+
#endif
|
|
158
|
+
}
|
|
159
|
+
extension GSSDK.GSKCameraViewController.Configuration.BarcodeDetection {
|
|
160
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
161
|
+
public static func `default`(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.BarcodeDetection
|
|
162
|
+
#endif
|
|
163
|
+
}
|
|
164
|
+
extension GSSDK.GSKCameraViewController {
|
|
165
|
+
@objc public enum DocumentDetectionMode : Swift.Int, Swift.Equatable {
|
|
166
|
+
case highlightOnly
|
|
167
|
+
case highlightAndAutoCapture
|
|
168
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
169
|
+
public init?(rawValue: Swift.Int)
|
|
170
|
+
#endif
|
|
171
|
+
public typealias RawValue = Swift.Int
|
|
172
|
+
public var rawValue: Swift.Int {
|
|
173
|
+
get
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
extension GSSDK.GSKCameraViewController {
|
|
178
|
+
@objc public enum InterruptionReason : Swift.Int {
|
|
179
|
+
case videoDeviceNotAvailableInBackground
|
|
180
|
+
case audioDeviceInUseByAnotherClient
|
|
181
|
+
case videoDeviceInUseByAnotherClient
|
|
182
|
+
case videoDeviceNotAvailableWithMultipleForegroundApps
|
|
183
|
+
case videoDeviceNotAvailableDueToSystemPressure
|
|
184
|
+
case unknown
|
|
185
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
|
+
public init?(rawValue: Swift.Int)
|
|
187
|
+
#endif
|
|
188
|
+
public typealias RawValue = Swift.Int
|
|
189
|
+
public var rawValue: Swift.Int {
|
|
190
|
+
get
|
|
191
|
+
}
|
|
162
192
|
}
|
|
163
193
|
}
|
|
164
|
-
@objc @_Concurrency.MainActor @preconcurrency open class GSKCameraViewController : UIKit.UIViewController {
|
|
165
|
-
@_Concurrency.MainActor @preconcurrency public
|
|
194
|
+
@_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency open class GSKCameraViewController : UIKit.UIViewController {
|
|
195
|
+
@_Concurrency.MainActor @preconcurrency public static let photoStabilizationDuration: Foundation.TimeInterval
|
|
196
|
+
@objc @_Concurrency.MainActor @preconcurrency public static func requestCameraAccess() async -> Swift.Bool
|
|
197
|
+
@_Concurrency.MainActor @preconcurrency final public let configuration: GSSDK.GSKCameraViewController.Configuration
|
|
198
|
+
@_Concurrency.MainActor @preconcurrency public var cameraView: UIKit.UIView {
|
|
166
199
|
get
|
|
167
200
|
}
|
|
168
|
-
@_Concurrency.MainActor @preconcurrency public var
|
|
201
|
+
@_Concurrency.MainActor @preconcurrency weak public var delegate: (any GSSDK.GSKCameraViewControllerDelegate)?
|
|
202
|
+
@_Concurrency.MainActor @preconcurrency public var supportsFlash: Swift.Bool {
|
|
169
203
|
get
|
|
170
204
|
}
|
|
171
|
-
@_Concurrency.MainActor @preconcurrency public var
|
|
205
|
+
@_Concurrency.MainActor @preconcurrency public var flashStatus: GSSDK.GSKFlashStatus {
|
|
172
206
|
get
|
|
173
207
|
set
|
|
174
208
|
}
|
|
175
|
-
@_Concurrency.MainActor @preconcurrency public var
|
|
209
|
+
@_Concurrency.MainActor @preconcurrency public var documentDetectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode? {
|
|
176
210
|
get
|
|
211
|
+
set
|
|
177
212
|
}
|
|
178
|
-
@_Concurrency.MainActor @preconcurrency
|
|
213
|
+
@_Concurrency.MainActor @preconcurrency public init(configuration: GSSDK.GSKCameraViewController.Configuration) async throws
|
|
179
214
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
180
215
|
@available(*, unavailable)
|
|
181
216
|
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
182
217
|
#endif
|
|
183
|
-
@objc @_Concurrency.MainActor @preconcurrency public init(cameraSession: GSSDK.GSKCameraSession)
|
|
184
|
-
@objc deinit
|
|
185
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic open var prefersStatusBarHidden: Swift.Bool {
|
|
186
|
-
@objc get
|
|
187
|
-
}
|
|
188
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func loadView()
|
|
189
218
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
190
219
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
|
|
191
220
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
|
|
192
|
-
@_Concurrency.MainActor @preconcurrency
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
@
|
|
221
|
+
@objc @_Concurrency.MainActor @preconcurrency final public func takePhoto()
|
|
222
|
+
@_Concurrency.MainActor @preconcurrency final public func pause()
|
|
223
|
+
@_Concurrency.MainActor @preconcurrency final public func resume()
|
|
224
|
+
@_Concurrency.MainActor @preconcurrency final public func showShutterView(animated: Swift.Bool)
|
|
225
|
+
@_Concurrency.MainActor @preconcurrency final public func hideShutterView(animated: Swift.Bool)
|
|
226
|
+
@objc deinit
|
|
196
227
|
}
|
|
197
228
|
extension GSSDK.GSKCameraViewController {
|
|
198
|
-
@
|
|
199
|
-
@objc
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
@objc
|
|
203
|
-
@objc
|
|
204
|
-
@objc
|
|
205
|
-
@objc
|
|
206
|
-
@objc
|
|
207
|
-
@objc
|
|
208
|
-
@objc
|
|
209
|
-
@objc
|
|
210
|
-
@objc
|
|
211
|
-
@objc
|
|
212
|
-
@objc
|
|
213
|
-
@objc
|
|
214
|
-
@objc
|
|
215
|
-
|
|
216
|
-
extension GSSDK.GSKCameraViewController : GSSDK.GSKViewDelegate {
|
|
217
|
-
@_Concurrency.MainActor @preconcurrency @objc dynamic public func cameraView(_ cameraView: GSSDK.GSKView, requestedFocusAt focusPoint: CoreFoundation.CGPoint)
|
|
229
|
+
@available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead")
|
|
230
|
+
@objc @_Concurrency.MainActor @preconcurrency public static func makeCameraViewController(documentDetectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode, documentOverlayColor: UIKit.UIColor) async throws -> GSSDK.GSKCameraViewController
|
|
231
|
+
}
|
|
232
|
+
@_Concurrency.MainActor @objc public protocol GSKCameraViewControllerDelegate {
|
|
233
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFailWithError error: any Swift.Error)
|
|
234
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didEncounterNonCriticalError error: any Swift.Error)
|
|
235
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerDidStart(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
236
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerDidStop(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
237
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, wasInterruptedWithReason reason: GSSDK.GSKCameraViewController.InterruptionReason)
|
|
238
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerInterruptionDidEnd(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
239
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerIsSearchingForDocument(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
240
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindDocumentWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
241
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerFailedToFindDocument(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
242
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerPhotoStabilizationDidStart(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
243
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, willSnapPhotoWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
244
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerDidSnapPhoto(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
245
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didGenerateScan scan: GSSDK.GSKScan)
|
|
246
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindBarcodes barcodes: [GSSDK.GSKBarcode])
|
|
218
247
|
}
|
|
219
248
|
extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
220
249
|
public var description: Swift.String {
|
|
@@ -244,11 +273,68 @@ extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
|
244
273
|
get
|
|
245
274
|
}
|
|
246
275
|
}
|
|
276
|
+
@_Concurrency.MainActor public protocol GSKDocumentOverlayType : UIKit.UIView {
|
|
277
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
278
|
+
@_Concurrency.MainActor func documentQuadrangleDidChange(_ quadrangle: GSSDK.GSKQuadrangle?)
|
|
279
|
+
#endif
|
|
280
|
+
@_Concurrency.MainActor func onSearchingForDocument()
|
|
281
|
+
@_Concurrency.MainActor func onStabilizingAndTakingPhoto(withStabilizationDuration duration: Foundation.TimeInterval)
|
|
282
|
+
}
|
|
247
283
|
extension GSSDK.GSKEdgeCleaning : Swift.CustomStringConvertible {
|
|
248
284
|
public var description: Swift.String {
|
|
249
285
|
get
|
|
250
286
|
}
|
|
251
287
|
}
|
|
288
|
+
@objc @objcMembers @_Concurrency.MainActor @preconcurrency open class GSKEditFrameViewController : UIKit.UIViewController {
|
|
289
|
+
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage {
|
|
290
|
+
@objc get
|
|
291
|
+
@objc set
|
|
292
|
+
}
|
|
293
|
+
@objc @_Concurrency.MainActor @preconcurrency public var frameView: UIKit.UIView {
|
|
294
|
+
@objc get
|
|
295
|
+
}
|
|
296
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public var quadrangle: GSSDK.GSKQuadrangle {
|
|
297
|
+
@objc get
|
|
298
|
+
@objc set
|
|
299
|
+
}
|
|
300
|
+
@objc @_Concurrency.MainActor @preconcurrency public var inset: CoreFoundation.CGFloat {
|
|
301
|
+
@objc get
|
|
302
|
+
@objc set
|
|
303
|
+
}
|
|
304
|
+
@objc @available(*, deprecated, message: "Deprecated in favor of frameView.imageSelection.insideShadeColor.")
|
|
305
|
+
@_Concurrency.MainActor @preconcurrency public var shadeColor: UIKit.UIColor {
|
|
306
|
+
@objc get
|
|
307
|
+
@objc set
|
|
308
|
+
}
|
|
309
|
+
@objc @_Concurrency.MainActor @preconcurrency public var outsideShadeColor: UIKit.UIColor {
|
|
310
|
+
@objc get
|
|
311
|
+
@objc set
|
|
312
|
+
}
|
|
313
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineColor: UIKit.UIColor {
|
|
314
|
+
@objc get
|
|
315
|
+
@objc set
|
|
316
|
+
}
|
|
317
|
+
@objc @_Concurrency.MainActor @preconcurrency public var handleWidth: CoreFoundation.CGFloat {
|
|
318
|
+
@objc get
|
|
319
|
+
@objc set
|
|
320
|
+
}
|
|
321
|
+
@objc @_Concurrency.MainActor @preconcurrency public var overlayAlpha: CoreFoundation.CGFloat {
|
|
322
|
+
@objc get
|
|
323
|
+
@objc set
|
|
324
|
+
}
|
|
325
|
+
@objc @_Concurrency.MainActor @preconcurrency public var magnifierViewCenterStyle: GSSDK.GSKMagnifierViewCenterStyle {
|
|
326
|
+
@objc get
|
|
327
|
+
@objc set
|
|
328
|
+
}
|
|
329
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(image: UIKit.UIImage, quadrangle: GSSDK.GSKQuadrangle)
|
|
330
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
331
|
+
@available(*, unavailable)
|
|
332
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
333
|
+
#endif
|
|
334
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setQuadrangle(_ quadrangle: GSSDK.GSKQuadrangle, animated: Swift.Bool)
|
|
335
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
336
|
+
@objc deinit
|
|
337
|
+
}
|
|
252
338
|
@objc @objcMembers final public class GSKFilterBackgroundCleaningConfiguration : ObjectiveC.NSObject {
|
|
253
339
|
@objc final public let edgeCleaning: GSSDK.GSKEdgeCleaning
|
|
254
340
|
@objc final public let backgroundKind: GSSDK.GSKBackgroundKind
|
|
@@ -365,6 +451,18 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
365
451
|
@objc get
|
|
366
452
|
}
|
|
367
453
|
}
|
|
454
|
+
@objc public enum GSKFlashStatus : Swift.Int {
|
|
455
|
+
case auto
|
|
456
|
+
case on
|
|
457
|
+
case off
|
|
458
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
459
|
+
public init?(rawValue: Swift.Int)
|
|
460
|
+
#endif
|
|
461
|
+
public typealias RawValue = Swift.Int
|
|
462
|
+
public var rawValue: Swift.Int {
|
|
463
|
+
get
|
|
464
|
+
}
|
|
465
|
+
}
|
|
368
466
|
@objc(GSKIntegrationFramework) public enum GSKIntegrationFramework : Swift.Int {
|
|
369
467
|
case native
|
|
370
468
|
case reactNative
|
|
@@ -389,16 +487,6 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
389
487
|
@objc override dynamic public init()
|
|
390
488
|
@objc deinit
|
|
391
489
|
}
|
|
392
|
-
@_hasMissingDesignatedInitializers final public class GSKLicenseKeyRefresher {
|
|
393
|
-
public typealias LicenseKey = Swift.String
|
|
394
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
395
|
-
final public var cachedLicenseKey: GSSDK.GSKLicenseKeyRefresher.LicenseKey? {
|
|
396
|
-
get
|
|
397
|
-
}
|
|
398
|
-
#endif
|
|
399
|
-
@objc convenience public init(sdkVersion: Swift.String)
|
|
400
|
-
@objc deinit
|
|
401
|
-
}
|
|
402
490
|
extension GSSDK.GSKReadabilityLevel : Swift.Comparable {
|
|
403
491
|
public static func < (lhs: GSSDK.GSKReadabilityLevel, rhs: GSSDK.GSKReadabilityLevel) -> Swift.Bool
|
|
404
492
|
}
|
|
@@ -462,8 +550,8 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
462
550
|
@objc deinit
|
|
463
551
|
}
|
|
464
552
|
@objc public class GSKDocumentGeneratorConfiguration : ObjectiveC.NSObject {
|
|
465
|
-
@objc public static func
|
|
466
|
-
@objc public static func
|
|
553
|
+
@objc(pdfConfigurationWithOutputFilePath:) public static func pdf(outputFilePath: Swift.String) -> GSSDK.GSKDocumentGeneratorConfiguration
|
|
554
|
+
@objc(tiffConfigurationWithOutputFilePath:) public static func tiff(outputFilePath: Swift.String) -> GSSDK.GSKDocumentGeneratorConfiguration
|
|
467
555
|
@objc final public let outputFileFormat: GSSDK.GSKDocumentGeneratorFileFormat
|
|
468
556
|
@objc final public let outputFilePath: Swift.String
|
|
469
557
|
@objc final public let pdfFontFilePath: Swift.String?
|
|
@@ -543,15 +631,15 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
543
631
|
#endif
|
|
544
632
|
@objc deinit
|
|
545
633
|
}
|
|
546
|
-
@objc @_inheritsConvenienceInitializers
|
|
547
|
-
|
|
634
|
+
@objc @_inheritsConvenienceInitializers final public class GSKTextLayoutToTextConverter : ObjectiveC.NSObject {
|
|
635
|
+
final public func convert(_ textLayout: GSSDK.GSKTextLayout) throws -> GSSDK.GSKTextLayoutToTextConverterResult
|
|
548
636
|
@objc override dynamic public init()
|
|
549
637
|
@objc deinit
|
|
550
638
|
}
|
|
551
|
-
@objc @_hasMissingDesignatedInitializers
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
639
|
+
@objc @_hasMissingDesignatedInitializers final public class GSKTextLayoutToTextConverterResult : ObjectiveC.NSObject {
|
|
640
|
+
final public let text: Swift.String
|
|
641
|
+
final public let averageWordConfidence: Swift.Int
|
|
642
|
+
final public let wordCount: Swift.Int
|
|
555
643
|
@objc deinit
|
|
556
644
|
}
|
|
557
645
|
public enum GSSDKAsset {
|
|
@@ -680,16 +768,19 @@ public enum GSSDKStrings {
|
|
|
680
768
|
@objc public init(logger: any GSSDK.GSKLogger)
|
|
681
769
|
@objc override convenience dynamic public init()
|
|
682
770
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
683
|
-
final public func recognizeText(in ocrInput: GSSDK.GSKOCRInput,
|
|
771
|
+
final public func recognizeText(in ocrInput: GSSDK.GSKOCRInput, configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
|
|
684
772
|
#endif
|
|
685
773
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
686
|
-
@objc final public func recognizeText(forImageAtPath imagePath: Swift.String,
|
|
774
|
+
@objc final public func recognizeText(forImageAtPath imagePath: Swift.String, configuration: GSSDK.GSKOCRConfiguration, onProgress progressBlock: ((Swift.Float) -> Swift.Void)?) async throws -> GSSDK.GSKOCRResult
|
|
687
775
|
#endif
|
|
688
776
|
@objc deinit
|
|
689
777
|
}
|
|
690
778
|
public struct GSKOCRInput {
|
|
779
|
+
public let originalImagePath: Swift.String
|
|
780
|
+
public let quadrangle: GSSDK.GSKQuadrangle?
|
|
781
|
+
public let rotation: GSSDK.GSKRotation
|
|
691
782
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
692
|
-
public init(originalImagePath: Swift.String, quadrangle: GSSDK.GSKQuadrangle? = nil, rotation: GSSDK.GSKRotation
|
|
783
|
+
public init(originalImagePath: Swift.String, quadrangle: GSSDK.GSKQuadrangle? = nil, rotation: GSSDK.GSKRotation = .none)
|
|
693
784
|
#endif
|
|
694
785
|
}
|
|
695
786
|
public struct GSKOCRLanguage {
|
|
@@ -709,64 +800,6 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
709
800
|
get
|
|
710
801
|
}
|
|
711
802
|
}
|
|
712
|
-
@objc @objcMembers @_Concurrency.MainActor final public class GSKReadableCodeFlow : ObjectiveC.NSObject {
|
|
713
|
-
@objc @_Concurrency.MainActor public init(configuration: GSSDK.GSKReadableCodeFlowConfiguration = GSKReadableCodeFlowConfiguration())
|
|
714
|
-
@objc @_Concurrency.MainActor final public func resultByStarting(fromViewController viewController: UIKit.UIViewController) async throws -> GSSDK.GSKReadableCodeFlowResult
|
|
715
|
-
@objc deinit
|
|
716
|
-
}
|
|
717
|
-
@objc extension GSSDK.GSKReadableCodeFlow {
|
|
718
|
-
@objc @available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead.")
|
|
719
|
-
@_Concurrency.MainActor public static func readableCodeFlowWithConfiguration(_ configuration: GSSDK.GSKReadableCodeFlowConfiguration) -> Self
|
|
720
|
-
@available(swift, obsoleted: 1.0, message: "resultByStarting(fromViewController:) instead.")
|
|
721
|
-
@objc(startFromViewController:success:failure:) nonisolated final public func startFromViewController(_ viewController: UIKit.UIViewController, success successBlock: @escaping (GSSDK.GSKReadableCodeFlowResult) -> Swift.Void, failure failureBlock: @escaping (Foundation.NSError) -> Swift.Void)
|
|
722
|
-
}
|
|
723
|
-
@objc extension GSSDK.GSKReadableCodeFlowConfiguration {
|
|
724
|
-
@objc public static func configurationWithDictionary(_ dictionary: Foundation.NSDictionary) throws -> GSSDK.GSKReadableCodeFlowConfiguration
|
|
725
|
-
@objc public static func configurationWithJSON(_ json: Swift.String) throws -> GSSDK.GSKReadableCodeFlowConfiguration
|
|
726
|
-
}
|
|
727
|
-
@objc @_inheritsConvenienceInitializers @objcMembers public class GSKReadableCodeFlowConfiguration : ObjectiveC.NSObject {
|
|
728
|
-
public var supportedCodeTypes: [GSSDK.GSKStructuredDataReadableCodeType]
|
|
729
|
-
@objc public var isBatchModeEnabled: Swift.Bool
|
|
730
|
-
@objc public var highlightColor: UIKit.UIColor
|
|
731
|
-
@objc public var menuColor: UIKit.UIColor?
|
|
732
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
733
|
-
public init(supportedCodeTypes: [GSSDK.GSKStructuredDataReadableCodeType] = [], isBatchModeEnabled: Swift.Bool = false, highlightColor: UIKit.UIColor = .green, menuColor: UIKit.UIColor? = nil)
|
|
734
|
-
#endif
|
|
735
|
-
@objc override dynamic public init()
|
|
736
|
-
@objc deinit
|
|
737
|
-
}
|
|
738
|
-
@objc public enum GSKReadableCodeFlowError : Swift.Int, Swift.Error {
|
|
739
|
-
@objc(GSKReadableCodeFlowUserCancelationError) case userCancellation
|
|
740
|
-
@objc(GSKReadableCodeFlowConfigurationError) case configuration
|
|
741
|
-
@objc(GSKReadableCodeFlowPermissionDeniedError) case permissionDenied
|
|
742
|
-
@objc(GSKReadableCodeFlowDetectorError) case detectorError
|
|
743
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
744
|
-
public init?(rawValue: Swift.Int)
|
|
745
|
-
#endif
|
|
746
|
-
public typealias RawValue = Swift.Int
|
|
747
|
-
public static var _nsErrorDomain: Swift.String {
|
|
748
|
-
get
|
|
749
|
-
}
|
|
750
|
-
public var rawValue: Swift.Int {
|
|
751
|
-
get
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
@objc extension GSSDK.GSKReadableCodeFlowResult {
|
|
755
|
-
@objc dynamic public var dictionary: [Swift.String : Any] {
|
|
756
|
-
@objc get
|
|
757
|
-
}
|
|
758
|
-
@objc dynamic public func json() -> Swift.String
|
|
759
|
-
}
|
|
760
|
-
@objc @objcMembers public class GSKReadableCodeFlowResult : ObjectiveC.NSObject {
|
|
761
|
-
final public let readableCodes: [GSSDK.GSKStructuredDataReadableCode]
|
|
762
|
-
public init(readableCodes: [GSSDK.GSKStructuredDataReadableCode])
|
|
763
|
-
@objc deinit
|
|
764
|
-
}
|
|
765
|
-
@objc extension GSSDK.GSKView {
|
|
766
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func startSearchAnimation()
|
|
767
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func startSnapAnimation(withDuration duration: Foundation.TimeInterval)
|
|
768
|
-
@objc @_Concurrency.MainActor @preconcurrency dynamic public func endSnapAnimation()
|
|
769
|
-
}
|
|
770
803
|
@objc extension UIKit.UIViewController {
|
|
771
804
|
@objc(gsk_statusBarStyleBasedOnContrast) @_Concurrency.MainActor @preconcurrency dynamic public var statusBarStyleBasedOnContrast: UIKit.UIStatusBarStyle {
|
|
772
805
|
@objc get
|
|
@@ -810,7 +843,7 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
810
843
|
@objc final public var pdfMaxScanDimension: Swift.Int
|
|
811
844
|
@objc final public var ocrConfiguration: GSSDK.GSKScanFlowOCRConfiguration?
|
|
812
845
|
@objc final public var structuredData: GSSDK.GSKScanFlowStructuredData
|
|
813
|
-
final public var
|
|
846
|
+
final public var structuredDataBarcodeTypes: [GSSDK.GSKBarcodeType]
|
|
814
847
|
@objc override dynamic public init()
|
|
815
848
|
@objc deinit
|
|
816
849
|
}
|
|
@@ -835,9 +868,19 @@ public enum GSKScanFlowCurvatureCorrectionMode : Swift.String {
|
|
|
835
868
|
get
|
|
836
869
|
}
|
|
837
870
|
}
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
871
|
+
public struct GSKScanFlowError : Swift.Error {
|
|
872
|
+
public var code: GSSDK.GSKScanFlowErrorCode
|
|
873
|
+
public var message: Swift.String
|
|
874
|
+
public var recoveryMessage: Swift.String?
|
|
875
|
+
public var underlyingError: (any Swift.Error)?
|
|
876
|
+
}
|
|
877
|
+
@objc public enum GSKScanFlowErrorCode : Swift.Int {
|
|
878
|
+
@objc(GSKScanFlowCancellationErrorCode) case cancellation = 999
|
|
879
|
+
@objc(GSKScanFlowConfigurationErrorCode) case configuration = 1000
|
|
880
|
+
@objc(GSKScanFlowLicensingErrorCode) case licensing = 1001
|
|
881
|
+
@objc(GSKScanFlowCaptureErrorCode) case capture = 1002
|
|
882
|
+
@objc(GSKScanFlowStorageSpaceErrorCode) case storageSpace = 1003
|
|
883
|
+
@objc(GSKScanFlowInternalErrorCode) case `internal` = 9999
|
|
841
884
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
842
885
|
public init?(rawValue: Swift.Int)
|
|
843
886
|
#endif
|
|
@@ -846,6 +889,15 @@ public enum GSKScanFlowCurvatureCorrectionMode : Swift.String {
|
|
|
846
889
|
get
|
|
847
890
|
}
|
|
848
891
|
}
|
|
892
|
+
extension GSSDK.GSKScanFlowError : Foundation.CustomNSError {
|
|
893
|
+
public static let errorDomain: Swift.String
|
|
894
|
+
public var errorCode: Swift.Int {
|
|
895
|
+
get
|
|
896
|
+
}
|
|
897
|
+
public var errorUserInfo: [Swift.String : Any] {
|
|
898
|
+
get
|
|
899
|
+
}
|
|
900
|
+
}
|
|
849
901
|
@objc public enum GSKScanFlowFilterType : Swift.Int, Swift.CaseIterable {
|
|
850
902
|
@objc(GSKScanFlowFilterNone) case none
|
|
851
903
|
@objc(GSKScanFlowFilterAutomatic) case automatic
|
|
@@ -899,8 +951,8 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
899
951
|
}
|
|
900
952
|
@objc public enum GSKScanFlowMultiPageFormat : Swift.UInt {
|
|
901
953
|
@objc(GSKScanFlowNone) case none
|
|
902
|
-
@objc(GSKScanFlowPDF) case
|
|
903
|
-
@objc(GSKScanFlowTIFF) case
|
|
954
|
+
@objc(GSKScanFlowPDF) case pdf
|
|
955
|
+
@objc(GSKScanFlowTIFF) case tiff
|
|
904
956
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
905
957
|
public init?(rawValue: Swift.UInt)
|
|
906
958
|
#endif
|
|
@@ -949,7 +1001,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
949
1001
|
@objc final public var originalFilePath: Swift.String
|
|
950
1002
|
@objc final public var enhancedFilePath: Swift.String
|
|
951
1003
|
@objc final public var ocrResult: GSSDK.GSKScanFlowOCRResult?
|
|
952
|
-
@objc final public var
|
|
1004
|
+
@objc final public var structuredData: GSSDK.GSKScanFlowStructuredDataResult?
|
|
953
1005
|
@objc public init(originalFilePath: Swift.String, enhancedFilePath: Swift.String)
|
|
954
1006
|
@objc deinit
|
|
955
1007
|
}
|
|
@@ -978,7 +1030,7 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
978
1030
|
@objc final public var bankDetails: GSSDK.GSKStructuredDataBankDetails?
|
|
979
1031
|
@objc final public var businessCardContact: GSSDK.GSKStructuredDataContact?
|
|
980
1032
|
@objc final public var receipt: GSSDK.GSKStructuredDataReceipt?
|
|
981
|
-
final public var
|
|
1033
|
+
@objc final public var barcodes: [GSSDK.GSKBarcode]
|
|
982
1034
|
@objc override dynamic public init()
|
|
983
1035
|
@objc deinit
|
|
984
1036
|
}
|
|
@@ -1025,11 +1077,57 @@ extension GSSDK.GSKScanFlowButton where Label == SwiftUICore.Text {
|
|
|
1025
1077
|
@_Concurrency.MainActor @preconcurrency public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
1026
1078
|
#endif
|
|
1027
1079
|
}
|
|
1028
|
-
|
|
1080
|
+
@objc public class GSKBarcode : ObjectiveC.NSObject {
|
|
1081
|
+
final public let value: Swift.String
|
|
1082
|
+
final public let type: GSSDK.GSKBarcodeType
|
|
1083
|
+
public init(value: Swift.String, type: GSSDK.GSKBarcodeType)
|
|
1084
|
+
@objc deinit
|
|
1085
|
+
}
|
|
1086
|
+
extension GSSDK.GSKBarcode {
|
|
1087
|
+
public static func == (lhs: GSSDK.GSKBarcode, rhs: GSSDK.GSKBarcode) -> Swift.Bool
|
|
1088
|
+
@objc override dynamic public var hash: Swift.Int {
|
|
1089
|
+
@objc get
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
extension GSSDK.GSKBarcode {
|
|
1093
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1094
|
+
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
|
|
1095
|
+
#endif
|
|
1096
|
+
}
|
|
1097
|
+
final public class GSKBarcodeDetector {
|
|
1029
1098
|
public init(logger: any GSSDK.GSKLogger = GSKLog())
|
|
1030
|
-
final public func
|
|
1099
|
+
final public func detectBarcodes(inFileAt url: Foundation.URL, codeTypes: [GSSDK.GSKBarcodeType]) async throws -> [GSSDK.GSKBarcode]
|
|
1031
1100
|
@objc deinit
|
|
1032
1101
|
}
|
|
1102
|
+
public enum GSKBarcodeType : Swift.String, Swift.CaseIterable {
|
|
1103
|
+
case aztec
|
|
1104
|
+
case code39
|
|
1105
|
+
case code93
|
|
1106
|
+
case code128
|
|
1107
|
+
case dataMatrix
|
|
1108
|
+
case ean8
|
|
1109
|
+
case ean13
|
|
1110
|
+
case itf
|
|
1111
|
+
case pdf417
|
|
1112
|
+
case qr
|
|
1113
|
+
case upce
|
|
1114
|
+
case codabar
|
|
1115
|
+
case gs1DataBar
|
|
1116
|
+
case microPDF417
|
|
1117
|
+
case microQR
|
|
1118
|
+
case msiPlessey
|
|
1119
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1120
|
+
public init?(rawValue: Swift.String)
|
|
1121
|
+
#endif
|
|
1122
|
+
public typealias AllCases = [GSSDK.GSKBarcodeType]
|
|
1123
|
+
public typealias RawValue = Swift.String
|
|
1124
|
+
nonisolated public static var allCases: [GSSDK.GSKBarcodeType] {
|
|
1125
|
+
get
|
|
1126
|
+
}
|
|
1127
|
+
public var rawValue: Swift.String {
|
|
1128
|
+
get
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1033
1131
|
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
|
|
1034
1132
|
@objc final public let city: Swift.String?
|
|
1035
1133
|
@objc final public let postalCode: Swift.String?
|
|
@@ -1086,47 +1184,6 @@ final public class GSKReadableCodeDetector {
|
|
|
1086
1184
|
@objc final public let number: Swift.String
|
|
1087
1185
|
@objc deinit
|
|
1088
1186
|
}
|
|
1089
|
-
public struct GSKStructuredDataReadableCode : Swift.Hashable {
|
|
1090
|
-
public let value: Swift.String
|
|
1091
|
-
public let type: GSSDK.GSKStructuredDataReadableCodeType
|
|
1092
|
-
public init(value: Swift.String, type: GSSDK.GSKStructuredDataReadableCodeType)
|
|
1093
|
-
public var hashValue: Swift.Int {
|
|
1094
|
-
get
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
extension GSSDK.GSKStructuredDataReadableCode {
|
|
1098
|
-
public static func == (lhs: GSSDK.GSKStructuredDataReadableCode, rhs: GSSDK.GSKStructuredDataReadableCode) -> Swift.Bool
|
|
1099
|
-
public func hash(into hasher: inout Swift.Hasher)
|
|
1100
|
-
}
|
|
1101
|
-
public enum GSKStructuredDataReadableCodeType : Swift.String, Swift.CaseIterable {
|
|
1102
|
-
case aztec
|
|
1103
|
-
case code39
|
|
1104
|
-
case code93
|
|
1105
|
-
case code128
|
|
1106
|
-
case dataMatrix
|
|
1107
|
-
case ean8
|
|
1108
|
-
case ean13
|
|
1109
|
-
case itf
|
|
1110
|
-
case pdf417
|
|
1111
|
-
case qr
|
|
1112
|
-
case upce
|
|
1113
|
-
case codabar
|
|
1114
|
-
case gs1DataBar
|
|
1115
|
-
case microPDF417
|
|
1116
|
-
case microQR
|
|
1117
|
-
case msiPlessey
|
|
1118
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
1119
|
-
public init?(rawValue: Swift.String)
|
|
1120
|
-
#endif
|
|
1121
|
-
public typealias AllCases = [GSSDK.GSKStructuredDataReadableCodeType]
|
|
1122
|
-
public typealias RawValue = Swift.String
|
|
1123
|
-
nonisolated public static var allCases: [GSSDK.GSKStructuredDataReadableCodeType] {
|
|
1124
|
-
get
|
|
1125
|
-
}
|
|
1126
|
-
public var rawValue: Swift.String {
|
|
1127
|
-
get
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
1187
|
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataReceipt : ObjectiveC.NSObject {
|
|
1131
1188
|
@objc final public let locale: Foundation.Locale?
|
|
1132
1189
|
@objc final public let merchant: Swift.String?
|
|
@@ -1138,16 +1195,18 @@ public enum GSKStructuredDataReadableCodeType : Swift.String, Swift.CaseIterable
|
|
|
1138
1195
|
@objc final public let vatValues: [GSSDK.GSKReceiptVAT]
|
|
1139
1196
|
@objc deinit
|
|
1140
1197
|
}
|
|
1141
|
-
extension GSSDK.
|
|
1142
|
-
extension GSSDK.
|
|
1143
|
-
extension GSSDK.
|
|
1144
|
-
extension GSSDK.
|
|
1145
|
-
extension GSSDK.GSKCameraSessionDocumentDetection : Swift.Equatable {}
|
|
1146
|
-
extension GSSDK.GSKCameraSessionDocumentDetection : Swift.Hashable {}
|
|
1147
|
-
extension GSSDK.GSKCameraSessionDocumentDetection : Swift.RawRepresentable {}
|
|
1198
|
+
extension GSSDK.GSKBarcodeScanFlow : Swift.Sendable {}
|
|
1199
|
+
extension GSSDK.GSKFlashStatus : Swift.Equatable {}
|
|
1200
|
+
extension GSSDK.GSKFlashStatus : Swift.Hashable {}
|
|
1201
|
+
extension GSSDK.GSKFlashStatus : Swift.RawRepresentable {}
|
|
1148
1202
|
extension GSSDK.GSKCameraSessionError : Swift.Equatable {}
|
|
1149
1203
|
extension GSSDK.GSKCameraSessionError : Swift.Hashable {}
|
|
1150
1204
|
extension GSSDK.GSKCameraSessionError : Swift.RawRepresentable {}
|
|
1205
|
+
extension GSSDK.GSKCameraViewController.DocumentDetectionMode : Swift.Hashable {}
|
|
1206
|
+
extension GSSDK.GSKCameraViewController.DocumentDetectionMode : Swift.RawRepresentable {}
|
|
1207
|
+
extension GSSDK.GSKCameraViewController.InterruptionReason : Swift.Equatable {}
|
|
1208
|
+
extension GSSDK.GSKCameraViewController.InterruptionReason : Swift.Hashable {}
|
|
1209
|
+
extension GSSDK.GSKCameraViewController.InterruptionReason : Swift.RawRepresentable {}
|
|
1151
1210
|
extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
|
|
1152
1211
|
extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
|
|
1153
1212
|
extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
|
|
@@ -1165,10 +1224,6 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.RawRepresentable {}
|
|
|
1165
1224
|
extension GSSDK.GSKDocumentGeneratorFileFormat : Swift.Equatable {}
|
|
1166
1225
|
extension GSSDK.GSKDocumentGeneratorFileFormat : Swift.Hashable {}
|
|
1167
1226
|
extension GSSDK.GSKDocumentGeneratorFileFormat : Swift.RawRepresentable {}
|
|
1168
|
-
extension GSSDK.GSKReadableCodeFlow : Swift.Sendable {}
|
|
1169
|
-
extension GSSDK.GSKReadableCodeFlowError : Swift.Equatable {}
|
|
1170
|
-
extension GSSDK.GSKReadableCodeFlowError : Swift.Hashable {}
|
|
1171
|
-
extension GSSDK.GSKReadableCodeFlowError : Swift.RawRepresentable {}
|
|
1172
1227
|
extension GSSDK.GSKScanFlowFilterType : Swift.Equatable {}
|
|
1173
1228
|
extension GSSDK.GSKScanFlowFilterType : Swift.Hashable {}
|
|
1174
1229
|
extension GSSDK.GSKScanFlowFilterType : Swift.RawRepresentable {}
|
|
@@ -1176,9 +1231,9 @@ extension GSSDK.GSKScanFlow : Swift.Sendable {}
|
|
|
1176
1231
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.Equatable {}
|
|
1177
1232
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.Hashable {}
|
|
1178
1233
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.RawRepresentable {}
|
|
1179
|
-
extension GSSDK.
|
|
1180
|
-
extension GSSDK.
|
|
1181
|
-
extension GSSDK.
|
|
1234
|
+
extension GSSDK.GSKScanFlowErrorCode : Swift.Equatable {}
|
|
1235
|
+
extension GSSDK.GSKScanFlowErrorCode : Swift.Hashable {}
|
|
1236
|
+
extension GSSDK.GSKScanFlowErrorCode : Swift.RawRepresentable {}
|
|
1182
1237
|
extension GSSDK.GSKScanFlowFlashMode : Swift.Equatable {}
|
|
1183
1238
|
extension GSSDK.GSKScanFlowFlashMode : Swift.Hashable {}
|
|
1184
1239
|
extension GSSDK.GSKScanFlowFlashMode : Swift.RawRepresentable {}
|
|
@@ -1195,9 +1250,9 @@ extension GSSDK.GSKScanOrientation : Swift.Equatable {}
|
|
|
1195
1250
|
extension GSSDK.GSKScanOrientation : Swift.Hashable {}
|
|
1196
1251
|
extension GSSDK.GSKScanOrientation : Swift.RawRepresentable {}
|
|
1197
1252
|
extension GSSDK.GSKScanFlowButton : Swift.Sendable {}
|
|
1253
|
+
extension GSSDK.GSKBarcodeType : Swift.Equatable {}
|
|
1254
|
+
extension GSSDK.GSKBarcodeType : Swift.Hashable {}
|
|
1255
|
+
extension GSSDK.GSKBarcodeType : Swift.RawRepresentable {}
|
|
1198
1256
|
extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
|
|
1199
1257
|
extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
|
|
1200
1258
|
extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}
|
|
1201
|
-
extension GSSDK.GSKStructuredDataReadableCodeType : Swift.Equatable {}
|
|
1202
|
-
extension GSSDK.GSKStructuredDataReadableCodeType : Swift.Hashable {}
|
|
1203
|
-
extension GSSDK.GSKStructuredDataReadableCodeType : Swift.RawRepresentable {}
|