@thegrizzlylabs/react-native-genius-scan 5.17.0 → 6.0.0-beta01
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/GSKEditableFrame.h +0 -1
- 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/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 +0 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +394 -310
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +0 -3
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/UIImage+GSKUtils.h +8 -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 +19744 -17787
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +302 -249
- 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 +302 -249
- 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.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/GSKEditableFrame.h +0 -1
- 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/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 +0 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +801 -633
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +0 -3
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/UIImage+GSKUtils.h +8 -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 +19744 -17787
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +302 -249
- 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 +302 -249
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +19744 -17787
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +302 -249
- 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 +302 -249
- 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.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/GSKFilterType.h +0 -43
- 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/GSKFilterType.h +0 -43
- 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 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
|
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
|
|
5
5
|
import AVFoundation
|
|
6
6
|
import Combine
|
|
@@ -23,114 +23,102 @@ import Vision
|
|
|
23
23
|
import _Concurrency
|
|
24
24
|
import _StringProcessing
|
|
25
25
|
import _SwiftConcurrencyShims
|
|
26
|
-
@objc public
|
|
27
|
-
|
|
28
|
-
@objc
|
|
29
|
-
|
|
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
30
|
}
|
|
31
|
-
extension
|
|
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)
|
|
32
36
|
}
|
|
33
|
-
@
|
|
34
|
-
@objc public static
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
@objc public
|
|
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?
|
|
46
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
47
|
+
public init(supportedCodeTypes: [GSSDK.GSKBarcodeType] = [], isBatchModeEnabled: Swift.Bool = false, highlightColor: UIKit.UIColor? = nil, menuColor: UIKit.UIColor? = nil)
|
|
48
|
+
#endif
|
|
40
49
|
@objc override dynamic public init()
|
|
41
50
|
@objc deinit
|
|
42
51
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
@Combine.Published @_projectedValueProperty($activeDetectionMode) public var activeDetectionMode: GSSDK.GSKCameraSessionDetectionMode {
|
|
52
|
+
@objc public enum GSKBarcodeScanFlowError : Swift.Int, Swift.Error {
|
|
53
|
+
@objc(GSKBarcodeScanFlowUserCancelationError) case userCancellation
|
|
54
|
+
@objc(GSKBarcodeScanFlowConfigurationError) case configuration
|
|
55
|
+
@objc(GSKBarcodeScanFlowPermissionDeniedError) case permissionDenied
|
|
56
|
+
@objc(GSKBarcodeScanFlowDetectorError) case detectorError
|
|
57
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
58
|
+
public init?(rawValue: Swift.Int)
|
|
59
|
+
#endif
|
|
60
|
+
public typealias RawValue = Swift.Int
|
|
61
|
+
public static var _nsErrorDomain: Swift.String {
|
|
54
62
|
get
|
|
55
63
|
}
|
|
56
|
-
public var
|
|
64
|
+
public var rawValue: Swift.Int {
|
|
57
65
|
get
|
|
58
66
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
@objc set
|
|
63
|
-
}
|
|
64
|
-
@objc dynamic public var isTakingPhoto: Swift.Bool {
|
|
65
|
-
@objc get
|
|
66
|
-
}
|
|
67
|
-
@objc public var supportsFlash: Swift.Bool {
|
|
67
|
+
}
|
|
68
|
+
extension GSSDK.GSKBarcodeScanFlowResult {
|
|
69
|
+
@objc dynamic public var dictionary: [Swift.String : Any] {
|
|
68
70
|
@objc get
|
|
69
71
|
}
|
|
70
|
-
@objc public
|
|
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()
|
|
72
|
+
@objc dynamic public func json() -> Swift.String
|
|
83
73
|
}
|
|
84
|
-
|
|
85
|
-
@objc
|
|
74
|
+
@objc @objcMembers public class GSKBarcodeScanFlowResult : ObjectiveC.NSObject {
|
|
75
|
+
@objc final public let barcodes: [GSSDK.GSKBarcode]
|
|
76
|
+
@objc public init(barcodes: [GSSDK.GSKBarcode])
|
|
77
|
+
@objc deinit
|
|
86
78
|
}
|
|
87
|
-
|
|
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
|
|
79
|
+
public protocol CGImageRepresentable {
|
|
94
80
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
95
|
-
|
|
81
|
+
func cgImageRepresentation() -> CoreGraphics.CGImage?
|
|
96
82
|
#endif
|
|
97
83
|
}
|
|
98
|
-
|
|
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
|
|
84
|
+
extension AVFoundation.AVCapturePhoto : GSSDK.CGImageRepresentable {
|
|
104
85
|
}
|
|
105
|
-
|
|
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
|
|
86
|
+
@objc extension GSSDK.GSKCurvatureCorrectionConfiguration : @unchecked Swift.Sendable {
|
|
110
87
|
}
|
|
111
|
-
extension GSSDK.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
88
|
+
@objc extension GSSDK.GSKEnhancementConfiguration : @unchecked Swift.Sendable {
|
|
89
|
+
}
|
|
90
|
+
@objc extension GSSDK.GSKFilterConfiguration : @unchecked Swift.Sendable {
|
|
91
|
+
}
|
|
92
|
+
@objc extension GSSDK.GSKPerspectiveCorrectionConfiguration : @unchecked Swift.Sendable {
|
|
93
|
+
}
|
|
94
|
+
@objc extension GSSDK.GSKProcessingConfiguration : @unchecked Swift.Sendable {
|
|
95
|
+
}
|
|
96
|
+
@objc extension GSSDK.GSKQuadrangle : @unchecked Swift.Sendable {
|
|
97
|
+
}
|
|
98
|
+
@objc extension GSSDK.GSKRotationConfiguration : @unchecked Swift.Sendable {
|
|
99
|
+
}
|
|
100
|
+
@objc extension GSSDK.GSKReadabilityConfiguration : @unchecked Swift.Sendable {
|
|
101
|
+
}
|
|
102
|
+
@objc extension GSSDK.GSKOutputConfiguration : @unchecked Swift.Sendable {
|
|
103
|
+
}
|
|
104
|
+
@_inheritsConvenienceInitializers @objc final public class GSK : ObjectiveC.NSObject {
|
|
105
|
+
@objc public static var sdkVersion: Swift.String {
|
|
106
|
+
@objc get
|
|
120
107
|
}
|
|
108
|
+
@objc public static func setLicenseKey(_ licenseKey: Swift.String)
|
|
109
|
+
@objc public static func setLicenseKey(_ licenseKey: Swift.String, autoRefresh: Swift.Bool)
|
|
110
|
+
@objc public static func checkInitialization() throws
|
|
111
|
+
@objc override dynamic public init()
|
|
112
|
+
@objc deinit
|
|
121
113
|
}
|
|
122
|
-
|
|
123
|
-
|
|
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 {
|
|
114
|
+
extension GSSDK.GSKBackgroundKind : Swift.CustomStringConvertible {
|
|
115
|
+
public var description: Swift.String {
|
|
131
116
|
get
|
|
132
117
|
}
|
|
133
118
|
}
|
|
119
|
+
@_Concurrency.MainActor public protocol GSKBarcodeOverlayType : UIKit.UIView {
|
|
120
|
+
@_Concurrency.MainActor func configure(with barcode: GSSDK.GSKBarcode)
|
|
121
|
+
}
|
|
134
122
|
@objc public enum GSKCameraSessionError : Swift.Int {
|
|
135
123
|
case other = -1
|
|
136
124
|
case notAuthorized = -2
|
|
@@ -149,72 +137,128 @@ extension GSSDK.GSKCameraSessionDetectionMode {
|
|
|
149
137
|
get
|
|
150
138
|
}
|
|
151
139
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
140
|
+
extension GSSDK.GSKCameraViewController {
|
|
141
|
+
public struct Configuration {
|
|
142
|
+
public struct DocumentDetection {
|
|
143
|
+
public var detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode
|
|
144
|
+
public var overlayViewProvider: @_Concurrency.MainActor () -> any GSSDK.GSKDocumentOverlayType
|
|
145
|
+
public init(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode, overlayViewProvider: @escaping () -> any GSSDK.GSKDocumentOverlayType)
|
|
146
|
+
}
|
|
147
|
+
public struct BarcodeDetection {
|
|
148
|
+
public var codeTypes: [GSSDK.GSKBarcodeType]
|
|
149
|
+
public var overlayProvider: @_Concurrency.MainActor () -> any GSSDK.GSKBarcodeOverlayType
|
|
150
|
+
public init(codeTypes: [GSSDK.GSKBarcodeType], overlayProvider: @escaping () -> any GSSDK.GSKBarcodeOverlayType)
|
|
151
|
+
}
|
|
152
|
+
public var documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection?
|
|
153
|
+
public var barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection?
|
|
154
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
155
|
+
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection? = nil)
|
|
156
|
+
#endif
|
|
157
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
158
|
+
public init(documentDetection: GSSDK.GSKCameraViewController.Configuration.DocumentDetection? = nil, barcodeDetection: GSSDK.GSKCameraViewController.Configuration.BarcodeDetection)
|
|
159
|
+
#endif
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
extension GSSDK.GSKCameraViewController.Configuration {
|
|
156
163
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
157
|
-
public
|
|
164
|
+
public static func documentDetection(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
158
165
|
#endif
|
|
159
|
-
|
|
160
|
-
public
|
|
161
|
-
|
|
166
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
167
|
+
public static func barcodeDetection(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration
|
|
168
|
+
#endif
|
|
169
|
+
}
|
|
170
|
+
extension GSSDK.GSKCameraViewController.Configuration.DocumentDetection {
|
|
171
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
172
|
+
public static func `default`(detectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode = .highlightAndAutoCapture, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.DocumentDetection
|
|
173
|
+
#endif
|
|
174
|
+
}
|
|
175
|
+
extension GSSDK.GSKCameraViewController.Configuration.BarcodeDetection {
|
|
176
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
177
|
+
public static func `default`(codeTypes: [GSSDK.GSKBarcodeType] = GSKBarcodeType.allCases, overlayColor: UIKit.UIColor? = nil) -> GSSDK.GSKCameraViewController.Configuration.BarcodeDetection
|
|
178
|
+
#endif
|
|
179
|
+
}
|
|
180
|
+
extension GSSDK.GSKCameraViewController {
|
|
181
|
+
@objc public enum DocumentDetectionMode : Swift.Int, Swift.Equatable {
|
|
182
|
+
case highlightOnly
|
|
183
|
+
case highlightAndAutoCapture
|
|
184
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
185
|
+
public init?(rawValue: Swift.Int)
|
|
186
|
+
#endif
|
|
187
|
+
public typealias RawValue = Swift.Int
|
|
188
|
+
public var rawValue: Swift.Int {
|
|
189
|
+
get
|
|
190
|
+
}
|
|
162
191
|
}
|
|
163
192
|
}
|
|
164
|
-
|
|
165
|
-
@
|
|
193
|
+
extension GSSDK.GSKCameraViewController {
|
|
194
|
+
@objc public enum InterruptionReason : Swift.Int {
|
|
195
|
+
case videoDeviceNotAvailableInBackground
|
|
196
|
+
case audioDeviceInUseByAnotherClient
|
|
197
|
+
case videoDeviceInUseByAnotherClient
|
|
198
|
+
case videoDeviceNotAvailableWithMultipleForegroundApps
|
|
199
|
+
case videoDeviceNotAvailableDueToSystemPressure
|
|
200
|
+
case unknown
|
|
201
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
202
|
+
public init?(rawValue: Swift.Int)
|
|
203
|
+
#endif
|
|
204
|
+
public typealias RawValue = Swift.Int
|
|
205
|
+
public var rawValue: Swift.Int {
|
|
206
|
+
get
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
@_hasMissingDesignatedInitializers @objc @_Concurrency.MainActor @preconcurrency open class GSKCameraViewController : UIKit.UIViewController {
|
|
211
|
+
@_Concurrency.MainActor @preconcurrency public static let photoStabilizationDuration: Foundation.TimeInterval
|
|
212
|
+
@_Concurrency.MainActor @preconcurrency final public let configuration: GSSDK.GSKCameraViewController.Configuration
|
|
213
|
+
@_Concurrency.MainActor @preconcurrency public var cameraView: UIKit.UIView {
|
|
166
214
|
get
|
|
167
215
|
}
|
|
168
|
-
@_Concurrency.MainActor @preconcurrency public var
|
|
216
|
+
@_Concurrency.MainActor @preconcurrency weak public var delegate: (any GSSDK.GSKCameraViewControllerDelegate)?
|
|
217
|
+
@_Concurrency.MainActor @preconcurrency public var supportsFlash: Swift.Bool {
|
|
169
218
|
get
|
|
170
219
|
}
|
|
171
|
-
@_Concurrency.MainActor @preconcurrency public var
|
|
220
|
+
@_Concurrency.MainActor @preconcurrency public var flashStatus: GSSDK.GSKFlashStatus {
|
|
172
221
|
get
|
|
173
222
|
set
|
|
174
223
|
}
|
|
175
|
-
@_Concurrency.MainActor @preconcurrency public var
|
|
224
|
+
@_Concurrency.MainActor @preconcurrency public var documentDetectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode? {
|
|
176
225
|
get
|
|
226
|
+
set
|
|
177
227
|
}
|
|
178
|
-
@_Concurrency.MainActor @preconcurrency
|
|
228
|
+
@_Concurrency.MainActor @preconcurrency public init(configuration: GSSDK.GSKCameraViewController.Configuration) async throws
|
|
179
229
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
180
230
|
@available(*, unavailable)
|
|
181
231
|
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
182
232
|
#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
233
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
190
234
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillAppear(_ animated: Swift.Bool)
|
|
191
235
|
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewWillDisappear(_ animated: Swift.Bool)
|
|
192
|
-
@_Concurrency.MainActor @preconcurrency
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
@
|
|
236
|
+
@objc @_Concurrency.MainActor @preconcurrency final public func takePhoto()
|
|
237
|
+
@_Concurrency.MainActor @preconcurrency final public func pause()
|
|
238
|
+
@_Concurrency.MainActor @preconcurrency final public func resume()
|
|
239
|
+
@_Concurrency.MainActor @preconcurrency final public func showShutterView(animated: Swift.Bool)
|
|
240
|
+
@_Concurrency.MainActor @preconcurrency final public func hideShutterView(animated: Swift.Bool)
|
|
241
|
+
@objc deinit
|
|
196
242
|
}
|
|
197
243
|
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)
|
|
244
|
+
@available(swift, obsoleted: 1.0, message: "Use init(configuration:) instead")
|
|
245
|
+
@objc @_Concurrency.MainActor @preconcurrency public static func makeCameraViewController(documentDetectionMode: GSSDK.GSKCameraViewController.DocumentDetectionMode, documentOverlayColor: UIKit.UIColor) async throws -> GSSDK.GSKCameraViewController
|
|
246
|
+
}
|
|
247
|
+
@_Concurrency.MainActor @objc public protocol GSKCameraViewControllerDelegate {
|
|
248
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFailWithError error: any Swift.Error)
|
|
249
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didEncounterNonCriticalError error: any Swift.Error)
|
|
250
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerDidStart(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
251
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerDidStop(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
252
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, wasInterruptedWithReason reason: GSSDK.GSKCameraViewController.InterruptionReason)
|
|
253
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerInterruptionDidEnd(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
254
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerIsSearchingForDocument(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
255
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindDocumentWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
256
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerFailedToFindDocument(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
257
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerPhotoStabilizationDidStart(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
258
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, willSnapPhotoWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
259
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerDidSnapPhoto(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
260
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didGenerateScan scan: GSSDK.GSKScan)
|
|
261
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindBarcodes barcodes: [GSSDK.GSKBarcode])
|
|
218
262
|
}
|
|
219
263
|
extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
220
264
|
public var description: Swift.String {
|
|
@@ -244,11 +288,60 @@ extension GSSDK.GSKDocumentComposition : Swift.CustomStringConvertible {
|
|
|
244
288
|
get
|
|
245
289
|
}
|
|
246
290
|
}
|
|
291
|
+
@_Concurrency.MainActor public protocol GSKDocumentOverlayType : UIKit.UIView {
|
|
292
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
293
|
+
@_Concurrency.MainActor func documentQuadrangleDidChange(_ quadrangle: GSSDK.GSKQuadrangle?)
|
|
294
|
+
#endif
|
|
295
|
+
@_Concurrency.MainActor func onSearchingForDocument()
|
|
296
|
+
@_Concurrency.MainActor func onStabilizingAndTakingPhoto(withStabilizationDuration duration: Foundation.TimeInterval)
|
|
297
|
+
}
|
|
247
298
|
extension GSSDK.GSKEdgeCleaning : Swift.CustomStringConvertible {
|
|
248
299
|
public var description: Swift.String {
|
|
249
300
|
get
|
|
250
301
|
}
|
|
251
302
|
}
|
|
303
|
+
@objc @objcMembers @_Concurrency.MainActor @preconcurrency open class GSKEditFrameViewController : UIKit.UIViewController {
|
|
304
|
+
@objc @_Concurrency.MainActor @preconcurrency public var image: UIKit.UIImage {
|
|
305
|
+
@objc get
|
|
306
|
+
@objc set
|
|
307
|
+
}
|
|
308
|
+
@objc @_Concurrency.MainActor @preconcurrency public var frameView: UIKit.UIView {
|
|
309
|
+
@objc get
|
|
310
|
+
}
|
|
311
|
+
@objc @_Concurrency.MainActor @preconcurrency dynamic public var quadrangle: GSSDK.GSKQuadrangle {
|
|
312
|
+
@objc get
|
|
313
|
+
@objc set
|
|
314
|
+
}
|
|
315
|
+
@objc @available(*, deprecated, message: "Deprecated in favor of frameView.imageSelection.insideShadeColor.")
|
|
316
|
+
@_Concurrency.MainActor @preconcurrency public var shadeColor: UIKit.UIColor {
|
|
317
|
+
@objc get
|
|
318
|
+
@objc set
|
|
319
|
+
}
|
|
320
|
+
@objc @_Concurrency.MainActor @preconcurrency public var outsideShadeColor: UIKit.UIColor {
|
|
321
|
+
@objc get
|
|
322
|
+
@objc set
|
|
323
|
+
}
|
|
324
|
+
@objc @_Concurrency.MainActor @preconcurrency public var lineColor: UIKit.UIColor {
|
|
325
|
+
@objc get
|
|
326
|
+
@objc set
|
|
327
|
+
}
|
|
328
|
+
@objc @_Concurrency.MainActor @preconcurrency public var handleWidth: CoreFoundation.CGFloat {
|
|
329
|
+
@objc get
|
|
330
|
+
@objc set
|
|
331
|
+
}
|
|
332
|
+
@objc @_Concurrency.MainActor @preconcurrency public var magnifierViewCenterStyle: GSSDK.GSKMagnifierViewCenterStyle {
|
|
333
|
+
@objc get
|
|
334
|
+
@objc set
|
|
335
|
+
}
|
|
336
|
+
@objc @_Concurrency.MainActor @preconcurrency public init(image: UIKit.UIImage, quadrangle: GSSDK.GSKQuadrangle)
|
|
337
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
338
|
+
@available(*, unavailable)
|
|
339
|
+
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
340
|
+
#endif
|
|
341
|
+
@objc @_Concurrency.MainActor @preconcurrency public func setQuadrangle(_ quadrangle: GSSDK.GSKQuadrangle, animated: Swift.Bool)
|
|
342
|
+
@_Concurrency.MainActor @preconcurrency @objc override dynamic open func viewDidLoad()
|
|
343
|
+
@objc deinit
|
|
344
|
+
}
|
|
252
345
|
@objc @objcMembers final public class GSKFilterBackgroundCleaningConfiguration : ObjectiveC.NSObject {
|
|
253
346
|
@objc final public let edgeCleaning: GSSDK.GSKEdgeCleaning
|
|
254
347
|
@objc final public let backgroundKind: GSSDK.GSKBackgroundKind
|
|
@@ -365,6 +458,18 @@ extension GSSDK.GSKFilterLightingCorrectionConfiguration {
|
|
|
365
458
|
@objc get
|
|
366
459
|
}
|
|
367
460
|
}
|
|
461
|
+
@objc public enum GSKFlashStatus : Swift.Int {
|
|
462
|
+
case auto
|
|
463
|
+
case on
|
|
464
|
+
case off
|
|
465
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
466
|
+
public init?(rawValue: Swift.Int)
|
|
467
|
+
#endif
|
|
468
|
+
public typealias RawValue = Swift.Int
|
|
469
|
+
public var rawValue: Swift.Int {
|
|
470
|
+
get
|
|
471
|
+
}
|
|
472
|
+
}
|
|
368
473
|
@objc(GSKIntegrationFramework) public enum GSKIntegrationFramework : Swift.Int {
|
|
369
474
|
case native
|
|
370
475
|
case reactNative
|
|
@@ -689,7 +794,7 @@ public enum GSSDKStrings {
|
|
|
689
794
|
}
|
|
690
795
|
public struct GSKOCRInput {
|
|
691
796
|
#if compiler(>=5.3) && $NonescapableTypes
|
|
692
|
-
public init(originalImagePath: Swift.String, quadrangle: GSSDK.GSKQuadrangle? = nil, rotation: GSSDK.GSKRotation
|
|
797
|
+
public init(originalImagePath: Swift.String, quadrangle: GSSDK.GSKQuadrangle? = nil, rotation: GSSDK.GSKRotation = .none)
|
|
693
798
|
#endif
|
|
694
799
|
}
|
|
695
800
|
public struct GSKOCRLanguage {
|
|
@@ -709,64 +814,6 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
709
814
|
get
|
|
710
815
|
}
|
|
711
816
|
}
|
|
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
817
|
@objc extension UIKit.UIViewController {
|
|
771
818
|
@objc(gsk_statusBarStyleBasedOnContrast) @_Concurrency.MainActor @preconcurrency dynamic public var statusBarStyleBasedOnContrast: UIKit.UIStatusBarStyle {
|
|
772
819
|
@objc get
|
|
@@ -810,7 +857,7 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
810
857
|
@objc final public var pdfMaxScanDimension: Swift.Int
|
|
811
858
|
@objc final public var ocrConfiguration: GSSDK.GSKScanFlowOCRConfiguration?
|
|
812
859
|
@objc final public var structuredData: GSSDK.GSKScanFlowStructuredData
|
|
813
|
-
final public var
|
|
860
|
+
final public var structuredDataBarcodeTypes: [GSSDK.GSKBarcodeType]
|
|
814
861
|
@objc override dynamic public init()
|
|
815
862
|
@objc deinit
|
|
816
863
|
}
|
|
@@ -949,7 +996,7 @@ extension GSSDK.GSKScanFlowFlashMode : Swift.CustomStringConvertible {
|
|
|
949
996
|
@objc final public var originalFilePath: Swift.String
|
|
950
997
|
@objc final public var enhancedFilePath: Swift.String
|
|
951
998
|
@objc final public var ocrResult: GSSDK.GSKScanFlowOCRResult?
|
|
952
|
-
@objc final public var
|
|
999
|
+
@objc final public var structuredData: GSSDK.GSKScanFlowStructuredDataResult?
|
|
953
1000
|
@objc public init(originalFilePath: Swift.String, enhancedFilePath: Swift.String)
|
|
954
1001
|
@objc deinit
|
|
955
1002
|
}
|
|
@@ -978,7 +1025,7 @@ extension GSSDK.GSKScanFlowSource : Swift.CustomStringConvertible {
|
|
|
978
1025
|
@objc final public var bankDetails: GSSDK.GSKStructuredDataBankDetails?
|
|
979
1026
|
@objc final public var businessCardContact: GSSDK.GSKStructuredDataContact?
|
|
980
1027
|
@objc final public var receipt: GSSDK.GSKStructuredDataReceipt?
|
|
981
|
-
final public var
|
|
1028
|
+
@objc final public var barcodes: [GSSDK.GSKBarcode]
|
|
982
1029
|
@objc override dynamic public init()
|
|
983
1030
|
@objc deinit
|
|
984
1031
|
}
|
|
@@ -1025,11 +1072,57 @@ extension GSSDK.GSKScanFlowButton where Label == SwiftUICore.Text {
|
|
|
1025
1072
|
@_Concurrency.MainActor @preconcurrency public init(_ label: Swift.String, configuration: @escaping () -> GSSDK.GSKScanFlowConfiguration, action: @escaping (Swift.Result<GSSDK.GSKScanFlowResult, any Swift.Error>) -> Swift.Void)
|
|
1026
1073
|
#endif
|
|
1027
1074
|
}
|
|
1028
|
-
|
|
1075
|
+
@objc public class GSKBarcode : ObjectiveC.NSObject {
|
|
1076
|
+
final public let value: Swift.String
|
|
1077
|
+
final public let type: GSSDK.GSKBarcodeType
|
|
1078
|
+
public init(value: Swift.String, type: GSSDK.GSKBarcodeType)
|
|
1079
|
+
@objc deinit
|
|
1080
|
+
}
|
|
1081
|
+
extension GSSDK.GSKBarcode {
|
|
1082
|
+
public static func == (lhs: GSSDK.GSKBarcode, rhs: GSSDK.GSKBarcode) -> Swift.Bool
|
|
1083
|
+
@objc override dynamic public var hash: Swift.Int {
|
|
1084
|
+
@objc get
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
extension GSSDK.GSKBarcode {
|
|
1088
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1089
|
+
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
|
|
1090
|
+
#endif
|
|
1091
|
+
}
|
|
1092
|
+
final public class GSKBarcodeDetector {
|
|
1029
1093
|
public init(logger: any GSSDK.GSKLogger = GSKLog())
|
|
1030
|
-
final public func
|
|
1094
|
+
final public func detectBarcodes(inFileAt url: Foundation.URL, codeTypes: [GSSDK.GSKBarcodeType]) async throws -> [GSSDK.GSKBarcode]
|
|
1031
1095
|
@objc deinit
|
|
1032
1096
|
}
|
|
1097
|
+
public enum GSKBarcodeType : Swift.String, Swift.CaseIterable {
|
|
1098
|
+
case aztec
|
|
1099
|
+
case code39
|
|
1100
|
+
case code93
|
|
1101
|
+
case code128
|
|
1102
|
+
case dataMatrix
|
|
1103
|
+
case ean8
|
|
1104
|
+
case ean13
|
|
1105
|
+
case itf
|
|
1106
|
+
case pdf417
|
|
1107
|
+
case qr
|
|
1108
|
+
case upce
|
|
1109
|
+
case codabar
|
|
1110
|
+
case gs1DataBar
|
|
1111
|
+
case microPDF417
|
|
1112
|
+
case microQR
|
|
1113
|
+
case msiPlessey
|
|
1114
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
1115
|
+
public init?(rawValue: Swift.String)
|
|
1116
|
+
#endif
|
|
1117
|
+
public typealias AllCases = [GSSDK.GSKBarcodeType]
|
|
1118
|
+
public typealias RawValue = Swift.String
|
|
1119
|
+
nonisolated public static var allCases: [GSSDK.GSKBarcodeType] {
|
|
1120
|
+
get
|
|
1121
|
+
}
|
|
1122
|
+
public var rawValue: Swift.String {
|
|
1123
|
+
get
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1033
1126
|
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataAddress : ObjectiveC.NSObject {
|
|
1034
1127
|
@objc final public let city: Swift.String?
|
|
1035
1128
|
@objc final public let postalCode: Swift.String?
|
|
@@ -1086,47 +1179,6 @@ final public class GSKReadableCodeDetector {
|
|
|
1086
1179
|
@objc final public let number: Swift.String
|
|
1087
1180
|
@objc deinit
|
|
1088
1181
|
}
|
|
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
1182
|
@objc @_hasMissingDesignatedInitializers @objcMembers final public class GSKStructuredDataReceipt : ObjectiveC.NSObject {
|
|
1131
1183
|
@objc final public let locale: Foundation.Locale?
|
|
1132
1184
|
@objc final public let merchant: Swift.String?
|
|
@@ -1138,16 +1190,21 @@ public enum GSKStructuredDataReadableCodeType : Swift.String, Swift.CaseIterable
|
|
|
1138
1190
|
@objc final public let vatValues: [GSSDK.GSKReceiptVAT]
|
|
1139
1191
|
@objc deinit
|
|
1140
1192
|
}
|
|
1141
|
-
extension GSSDK.
|
|
1142
|
-
extension GSSDK.
|
|
1143
|
-
extension GSSDK.
|
|
1144
|
-
extension GSSDK.
|
|
1145
|
-
extension GSSDK.
|
|
1146
|
-
extension GSSDK.
|
|
1147
|
-
extension GSSDK.
|
|
1193
|
+
extension GSSDK.GSKBarcodeScanFlow : Swift.Sendable {}
|
|
1194
|
+
extension GSSDK.GSKBarcodeScanFlowError : Swift.Equatable {}
|
|
1195
|
+
extension GSSDK.GSKBarcodeScanFlowError : Swift.Hashable {}
|
|
1196
|
+
extension GSSDK.GSKBarcodeScanFlowError : Swift.RawRepresentable {}
|
|
1197
|
+
extension GSSDK.GSKFlashStatus : Swift.Equatable {}
|
|
1198
|
+
extension GSSDK.GSKFlashStatus : Swift.Hashable {}
|
|
1199
|
+
extension GSSDK.GSKFlashStatus : Swift.RawRepresentable {}
|
|
1148
1200
|
extension GSSDK.GSKCameraSessionError : Swift.Equatable {}
|
|
1149
1201
|
extension GSSDK.GSKCameraSessionError : Swift.Hashable {}
|
|
1150
1202
|
extension GSSDK.GSKCameraSessionError : Swift.RawRepresentable {}
|
|
1203
|
+
extension GSSDK.GSKCameraViewController.DocumentDetectionMode : Swift.Hashable {}
|
|
1204
|
+
extension GSSDK.GSKCameraViewController.DocumentDetectionMode : Swift.RawRepresentable {}
|
|
1205
|
+
extension GSSDK.GSKCameraViewController.InterruptionReason : Swift.Equatable {}
|
|
1206
|
+
extension GSSDK.GSKCameraViewController.InterruptionReason : Swift.Hashable {}
|
|
1207
|
+
extension GSSDK.GSKCameraViewController.InterruptionReason : Swift.RawRepresentable {}
|
|
1151
1208
|
extension GSSDK.GSKDocumentFinderImageType : Swift.Equatable {}
|
|
1152
1209
|
extension GSSDK.GSKDocumentFinderImageType : Swift.Hashable {}
|
|
1153
1210
|
extension GSSDK.GSKDocumentFinderImageType : Swift.RawRepresentable {}
|
|
@@ -1165,10 +1222,6 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.RawRepresentable {}
|
|
|
1165
1222
|
extension GSSDK.GSKDocumentGeneratorFileFormat : Swift.Equatable {}
|
|
1166
1223
|
extension GSSDK.GSKDocumentGeneratorFileFormat : Swift.Hashable {}
|
|
1167
1224
|
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
1225
|
extension GSSDK.GSKScanFlowFilterType : Swift.Equatable {}
|
|
1173
1226
|
extension GSSDK.GSKScanFlowFilterType : Swift.Hashable {}
|
|
1174
1227
|
extension GSSDK.GSKScanFlowFilterType : Swift.RawRepresentable {}
|
|
@@ -1195,9 +1248,9 @@ extension GSSDK.GSKScanOrientation : Swift.Equatable {}
|
|
|
1195
1248
|
extension GSSDK.GSKScanOrientation : Swift.Hashable {}
|
|
1196
1249
|
extension GSSDK.GSKScanOrientation : Swift.RawRepresentable {}
|
|
1197
1250
|
extension GSSDK.GSKScanFlowButton : Swift.Sendable {}
|
|
1251
|
+
extension GSSDK.GSKBarcodeType : Swift.Equatable {}
|
|
1252
|
+
extension GSSDK.GSKBarcodeType : Swift.Hashable {}
|
|
1253
|
+
extension GSSDK.GSKBarcodeType : Swift.RawRepresentable {}
|
|
1198
1254
|
extension GSSDK.GSKStructuredDataExtractorError : Swift.Equatable {}
|
|
1199
1255
|
extension GSSDK.GSKStructuredDataExtractorError : Swift.Hashable {}
|
|
1200
1256
|
extension GSSDK.GSKStructuredDataExtractorError : Swift.RawRepresentable {}
|
|
1201
|
-
extension GSSDK.GSKStructuredDataReadableCodeType : Swift.Equatable {}
|
|
1202
|
-
extension GSSDK.GSKStructuredDataReadableCodeType : Swift.Hashable {}
|
|
1203
|
-
extension GSSDK.GSKStructuredDataReadableCodeType : Swift.RawRepresentable {}
|