@thegrizzlylabs/react-native-genius-scan 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/android/build.gradle +1 -1
- package/index.d.ts +23 -1
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +24 -6
- 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 +1434 -154
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +57 -24
- 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 +57 -24
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +48 -12
- 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 +1434 -154
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +57 -24
- 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 +57 -24
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1434 -154
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +57 -24
- 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 +57 -24
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
- package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
- package/package.json +1 -1
|
@@ -126,7 +126,9 @@ extension GSSDK.GSKCameraViewController {
|
|
|
126
126
|
case didFindDocument(GSSDK.GSKQuadrangle)
|
|
127
127
|
case failedToFindDocument
|
|
128
128
|
case photoStabilizationDidStart
|
|
129
|
+
case willAutoCaptureDocument(GSSDK.GSKQuadrangle)
|
|
129
130
|
case willSnapPhoto(GSSDK.GSKQuadrangle)
|
|
131
|
+
case willCapturePhoto
|
|
130
132
|
case didSnapPhoto
|
|
131
133
|
case didGenerateScan(GSSDK.GSKScan)
|
|
132
134
|
case didFindBarcodes([GSSDK.GSKBarcode])
|
|
@@ -233,7 +235,9 @@ extension GSSDK.GSKCameraViewController {
|
|
|
233
235
|
@objc @_Concurrency.MainActor optional func cameraViewControllerFailedToFindDocument(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
234
236
|
@objc @_Concurrency.MainActor optional func cameraViewControllerPhotoStabilizationDidStart(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
235
237
|
@objc @_Concurrency.MainActor optional func cameraViewControllerShouldSnapPhoto(_ cameraViewController: GSSDK.GSKCameraViewController) -> Swift.Bool
|
|
238
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerWillCapturePhoto(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
236
239
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, willSnapPhotoWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
240
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, willAutoCaptureDocumentWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
237
241
|
@objc @_Concurrency.MainActor optional func cameraViewControllerDidSnapPhoto(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
238
242
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didGenerateScan scan: GSSDK.GSKScan)
|
|
239
243
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindBarcodes barcodes: [GSSDK.GSKBarcode])
|
|
@@ -595,7 +599,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
595
599
|
final public let wordCount: Swift.Int
|
|
596
600
|
@objc deinit
|
|
597
601
|
}
|
|
598
|
-
public enum GSSDKAsset {
|
|
602
|
+
public enum GSSDKAsset : Swift.Sendable {
|
|
599
603
|
public static let artboardExpand: GSSDK.GSSDKImages
|
|
600
604
|
public static let blurIndicator: GSSDK.GSSDKImages
|
|
601
605
|
public static let perspectiveGrid: GSSDK.GSSDKImages
|
|
@@ -603,10 +607,8 @@ public enum GSSDKAsset {
|
|
|
603
607
|
public static let rotateBack: GSSDK.GSSDKImages
|
|
604
608
|
public static let straightenedPerspectiveGrid: GSSDK.GSSDKImages
|
|
605
609
|
}
|
|
606
|
-
public struct GSSDKImages {
|
|
607
|
-
public
|
|
608
|
-
get
|
|
609
|
-
}
|
|
610
|
+
public struct GSSDKImages : Swift.Sendable {
|
|
611
|
+
public let name: Swift.String
|
|
610
612
|
public typealias Image = UIKit.UIImage
|
|
611
613
|
public var image: GSSDK.GSSDKImages.Image {
|
|
612
614
|
get
|
|
@@ -622,23 +624,23 @@ extension SwiftUICore.Image {
|
|
|
622
624
|
public init(asset: GSSDK.GSSDKImages, label: SwiftUICore.Text)
|
|
623
625
|
public init(decorative asset: GSSDK.GSSDKImages)
|
|
624
626
|
}
|
|
625
|
-
@_inheritsConvenienceInitializers @objc public class GSSDKResources : ObjectiveC.NSObject {
|
|
626
|
-
@objc public class var bundle: Foundation.Bundle {
|
|
627
|
+
@_inheritsConvenienceInitializers @objc final public class GSSDKResources : ObjectiveC.NSObject {
|
|
628
|
+
@objc nonisolated final public class var bundle: Foundation.Bundle {
|
|
627
629
|
@objc get
|
|
628
630
|
}
|
|
629
631
|
@objc override dynamic public init()
|
|
630
632
|
@objc deinit
|
|
631
633
|
}
|
|
632
|
-
public enum GSSDKStrings {
|
|
634
|
+
public enum GSSDKStrings : Swift.Sendable {
|
|
633
635
|
public enum Gssdk {
|
|
634
636
|
public static let gssdkSettings: Swift.String
|
|
635
|
-
public enum Accessibility {
|
|
636
|
-
public enum Value {
|
|
637
|
+
public enum Accessibility : Swift.Sendable {
|
|
638
|
+
public enum Value : Swift.Sendable {
|
|
637
639
|
public static let off: Swift.String
|
|
638
640
|
public static let on: Swift.String
|
|
639
641
|
}
|
|
640
642
|
}
|
|
641
|
-
public enum Action {
|
|
643
|
+
public enum Action : Swift.Sendable {
|
|
642
644
|
public static let back: Swift.String
|
|
643
645
|
public static let cancel: Swift.String
|
|
644
646
|
public static let capture: Swift.String
|
|
@@ -657,27 +659,28 @@ public enum GSSDKStrings {
|
|
|
657
659
|
public static let photoLibrary: Swift.String
|
|
658
660
|
public static let recrop: Swift.String
|
|
659
661
|
public static let rotateLeft: Swift.String
|
|
662
|
+
public static let save: Swift.String
|
|
660
663
|
public static let selectAll: Swift.String
|
|
661
664
|
public static let submit: Swift.String
|
|
662
|
-
public enum ChangeFilter {
|
|
665
|
+
public enum ChangeFilter : Swift.Sendable {
|
|
663
666
|
public static let short: Swift.String
|
|
664
667
|
}
|
|
665
|
-
public enum DistortionCorrection {
|
|
668
|
+
public enum DistortionCorrection : Swift.Sendable {
|
|
666
669
|
public static let short: Swift.String
|
|
667
670
|
}
|
|
668
|
-
public enum RotateLeft {
|
|
671
|
+
public enum RotateLeft : Swift.Sendable {
|
|
669
672
|
public static let short: Swift.String
|
|
670
673
|
}
|
|
671
674
|
}
|
|
672
|
-
public enum Crop {
|
|
675
|
+
public enum Crop : Swift.Sendable {
|
|
673
676
|
public static let detect: Swift.String
|
|
674
677
|
public static let maximize: Swift.String
|
|
675
678
|
}
|
|
676
|
-
public enum Error {
|
|
679
|
+
public enum Error : Swift.Sendable {
|
|
677
680
|
public static func cameraPermissionDeniedMessage(_ p1: Any) -> Swift.String
|
|
678
681
|
public static func cameraPermissionDeniedTitle(_ p1: Any) -> Swift.String
|
|
679
682
|
}
|
|
680
|
-
public enum Filter {
|
|
683
|
+
public enum Filter : Swift.Sendable {
|
|
681
684
|
public static let automatic: Swift.String
|
|
682
685
|
public static let automaticBlackAndWhite: Swift.String
|
|
683
686
|
public static let automaticColor: Swift.String
|
|
@@ -692,15 +695,15 @@ public enum GSSDKStrings {
|
|
|
692
695
|
public static let strongColor: Swift.String
|
|
693
696
|
public static let strongMonochrome: Swift.String
|
|
694
697
|
}
|
|
695
|
-
public enum Flash {
|
|
698
|
+
public enum Flash : Swift.Sendable {
|
|
696
699
|
public static let mode: Swift.String
|
|
697
|
-
public enum Mode {
|
|
700
|
+
public enum Mode : Swift.Sendable {
|
|
698
701
|
public static let auto: Swift.String
|
|
699
702
|
public static let off: Swift.String
|
|
700
703
|
public static let on: Swift.String
|
|
701
704
|
}
|
|
702
705
|
}
|
|
703
|
-
public enum Flow {
|
|
706
|
+
public enum Flow : Swift.Sendable {
|
|
704
707
|
public static let addPage: Swift.String
|
|
705
708
|
public static let addPages: Swift.String
|
|
706
709
|
public static let cancel: Swift.String
|
|
@@ -711,20 +714,20 @@ public enum GSSDKStrings {
|
|
|
711
714
|
public static func prefixedPageOrder(_ p1: Swift.Int, _ p2: Swift.Int) -> Swift.String
|
|
712
715
|
public static let retake: Swift.String
|
|
713
716
|
public static let reviewAndSubmit: Swift.String
|
|
714
|
-
public enum ConfirmCancellation {
|
|
717
|
+
public enum ConfirmCancellation : Swift.Sendable {
|
|
715
718
|
public static let keepScanning: Swift.String
|
|
716
719
|
}
|
|
717
|
-
public enum Progress {
|
|
720
|
+
public enum Progress : Swift.Sendable {
|
|
718
721
|
public static let generatingDocument: Swift.String
|
|
719
722
|
public static let recognizingText: Swift.String
|
|
720
723
|
}
|
|
721
724
|
}
|
|
722
|
-
public enum ReadableCodeFlowBatch {
|
|
725
|
+
public enum ReadableCodeFlowBatch : Swift.Sendable {
|
|
723
726
|
public static let empty: Swift.String
|
|
724
727
|
public static let scannedCodes: Swift.String
|
|
725
728
|
public static func scannedCodesCount(_ p1: Swift.Int) -> Swift.String
|
|
726
729
|
}
|
|
727
|
-
public enum UserGuidance {
|
|
730
|
+
public enum UserGuidance : Swift.Sendable {
|
|
728
731
|
public static let documentFound: Swift.String
|
|
729
732
|
public static let dragPages: Swift.String
|
|
730
733
|
public static let readability: Swift.String
|
|
@@ -793,6 +796,32 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
793
796
|
@_Concurrency.MainActor public static func scanFlowWithConfiguration(_ configuration: GSSDK.GSKScanFlowConfiguration) -> Self
|
|
794
797
|
@objc(startFromViewController:onSuccess:failure:) nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
795
798
|
}
|
|
799
|
+
public enum GSKAutoCropConfidenceLevel : Swift.String, Swift.CaseIterable {
|
|
800
|
+
case lowest
|
|
801
|
+
case low
|
|
802
|
+
case medium
|
|
803
|
+
case high
|
|
804
|
+
case highest
|
|
805
|
+
public init?(rawValue: Swift.String)
|
|
806
|
+
public typealias AllCases = [GSSDK.GSKAutoCropConfidenceLevel]
|
|
807
|
+
public typealias RawValue = Swift.String
|
|
808
|
+
nonisolated public static var allCases: [GSSDK.GSKAutoCropConfidenceLevel] {
|
|
809
|
+
get
|
|
810
|
+
}
|
|
811
|
+
public var rawValue: Swift.String {
|
|
812
|
+
get
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
public enum GSKCropValidation : Swift.Hashable {
|
|
816
|
+
case never
|
|
817
|
+
case always
|
|
818
|
+
case whenConfidenceBelowOrEqual(GSSDK.GSKAutoCropConfidenceLevel)
|
|
819
|
+
public static func == (a: GSSDK.GSKCropValidation, b: GSSDK.GSKCropValidation) -> Swift.Bool
|
|
820
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
821
|
+
public var hashValue: Swift.Int {
|
|
822
|
+
get
|
|
823
|
+
}
|
|
824
|
+
}
|
|
796
825
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowConfiguration : ObjectiveC.NSObject {
|
|
797
826
|
@objc final public var source: GSSDK.GSKScanFlowSource
|
|
798
827
|
@objc final public var sourceImageURL: Foundation.URL?
|
|
@@ -805,6 +834,7 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
805
834
|
@objc final public var skipPostProcessingScreen: Swift.Bool
|
|
806
835
|
@objc final public var postProcessingActions: GSSDK.GSKScanFlowPostProcessingActions
|
|
807
836
|
final public var defaultCurvatureCorrectionMode: GSSDK.GSKScanFlowCurvatureCorrectionMode
|
|
837
|
+
final public var showCropValidation: GSSDK.GSKCropValidation
|
|
808
838
|
@objc final public var pdfPageSize: GSSDK.GSKScanFlowPDFPageSize
|
|
809
839
|
@objc final public var flashButtonHidden: Swift.Bool
|
|
810
840
|
@objc final public var photoLibraryButtonHidden: Swift.Bool
|
|
@@ -1178,6 +1208,9 @@ extension GSSDK.GSKScanFlowFilterType : Swift.Equatable {}
|
|
|
1178
1208
|
extension GSSDK.GSKScanFlowFilterType : Swift.Hashable {}
|
|
1179
1209
|
extension GSSDK.GSKScanFlowFilterType : Swift.RawRepresentable {}
|
|
1180
1210
|
extension GSSDK.GSKScanFlow : Swift.Sendable {}
|
|
1211
|
+
extension GSSDK.GSKAutoCropConfidenceLevel : Swift.Equatable {}
|
|
1212
|
+
extension GSSDK.GSKAutoCropConfidenceLevel : Swift.Hashable {}
|
|
1213
|
+
extension GSSDK.GSKAutoCropConfidenceLevel : Swift.RawRepresentable {}
|
|
1181
1214
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.Equatable {}
|
|
1182
1215
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.Hashable {}
|
|
1183
1216
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -126,7 +126,9 @@ extension GSSDK.GSKCameraViewController {
|
|
|
126
126
|
case didFindDocument(GSSDK.GSKQuadrangle)
|
|
127
127
|
case failedToFindDocument
|
|
128
128
|
case photoStabilizationDidStart
|
|
129
|
+
case willAutoCaptureDocument(GSSDK.GSKQuadrangle)
|
|
129
130
|
case willSnapPhoto(GSSDK.GSKQuadrangle)
|
|
131
|
+
case willCapturePhoto
|
|
130
132
|
case didSnapPhoto
|
|
131
133
|
case didGenerateScan(GSSDK.GSKScan)
|
|
132
134
|
case didFindBarcodes([GSSDK.GSKBarcode])
|
|
@@ -233,7 +235,9 @@ extension GSSDK.GSKCameraViewController {
|
|
|
233
235
|
@objc @_Concurrency.MainActor optional func cameraViewControllerFailedToFindDocument(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
234
236
|
@objc @_Concurrency.MainActor optional func cameraViewControllerPhotoStabilizationDidStart(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
235
237
|
@objc @_Concurrency.MainActor optional func cameraViewControllerShouldSnapPhoto(_ cameraViewController: GSSDK.GSKCameraViewController) -> Swift.Bool
|
|
238
|
+
@objc @_Concurrency.MainActor optional func cameraViewControllerWillCapturePhoto(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
236
239
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, willSnapPhotoWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
240
|
+
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, willAutoCaptureDocumentWithQuadrangle quadrangle: GSSDK.GSKQuadrangle)
|
|
237
241
|
@objc @_Concurrency.MainActor optional func cameraViewControllerDidSnapPhoto(_ cameraViewController: GSSDK.GSKCameraViewController)
|
|
238
242
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didGenerateScan scan: GSSDK.GSKScan)
|
|
239
243
|
@objc @_Concurrency.MainActor optional func cameraViewController(_ cameraViewController: GSSDK.GSKCameraViewController, didFindBarcodes barcodes: [GSSDK.GSKBarcode])
|
|
@@ -595,7 +599,7 @@ extension GSSDK.GSKDocumentGeneratorError : Swift.Error {
|
|
|
595
599
|
final public let wordCount: Swift.Int
|
|
596
600
|
@objc deinit
|
|
597
601
|
}
|
|
598
|
-
public enum GSSDKAsset {
|
|
602
|
+
public enum GSSDKAsset : Swift.Sendable {
|
|
599
603
|
public static let artboardExpand: GSSDK.GSSDKImages
|
|
600
604
|
public static let blurIndicator: GSSDK.GSSDKImages
|
|
601
605
|
public static let perspectiveGrid: GSSDK.GSSDKImages
|
|
@@ -603,10 +607,8 @@ public enum GSSDKAsset {
|
|
|
603
607
|
public static let rotateBack: GSSDK.GSSDKImages
|
|
604
608
|
public static let straightenedPerspectiveGrid: GSSDK.GSSDKImages
|
|
605
609
|
}
|
|
606
|
-
public struct GSSDKImages {
|
|
607
|
-
public
|
|
608
|
-
get
|
|
609
|
-
}
|
|
610
|
+
public struct GSSDKImages : Swift.Sendable {
|
|
611
|
+
public let name: Swift.String
|
|
610
612
|
public typealias Image = UIKit.UIImage
|
|
611
613
|
public var image: GSSDK.GSSDKImages.Image {
|
|
612
614
|
get
|
|
@@ -622,23 +624,23 @@ extension SwiftUICore.Image {
|
|
|
622
624
|
public init(asset: GSSDK.GSSDKImages, label: SwiftUICore.Text)
|
|
623
625
|
public init(decorative asset: GSSDK.GSSDKImages)
|
|
624
626
|
}
|
|
625
|
-
@_inheritsConvenienceInitializers @objc public class GSSDKResources : ObjectiveC.NSObject {
|
|
626
|
-
@objc public class var bundle: Foundation.Bundle {
|
|
627
|
+
@_inheritsConvenienceInitializers @objc final public class GSSDKResources : ObjectiveC.NSObject {
|
|
628
|
+
@objc nonisolated final public class var bundle: Foundation.Bundle {
|
|
627
629
|
@objc get
|
|
628
630
|
}
|
|
629
631
|
@objc override dynamic public init()
|
|
630
632
|
@objc deinit
|
|
631
633
|
}
|
|
632
|
-
public enum GSSDKStrings {
|
|
634
|
+
public enum GSSDKStrings : Swift.Sendable {
|
|
633
635
|
public enum Gssdk {
|
|
634
636
|
public static let gssdkSettings: Swift.String
|
|
635
|
-
public enum Accessibility {
|
|
636
|
-
public enum Value {
|
|
637
|
+
public enum Accessibility : Swift.Sendable {
|
|
638
|
+
public enum Value : Swift.Sendable {
|
|
637
639
|
public static let off: Swift.String
|
|
638
640
|
public static let on: Swift.String
|
|
639
641
|
}
|
|
640
642
|
}
|
|
641
|
-
public enum Action {
|
|
643
|
+
public enum Action : Swift.Sendable {
|
|
642
644
|
public static let back: Swift.String
|
|
643
645
|
public static let cancel: Swift.String
|
|
644
646
|
public static let capture: Swift.String
|
|
@@ -657,27 +659,28 @@ public enum GSSDKStrings {
|
|
|
657
659
|
public static let photoLibrary: Swift.String
|
|
658
660
|
public static let recrop: Swift.String
|
|
659
661
|
public static let rotateLeft: Swift.String
|
|
662
|
+
public static let save: Swift.String
|
|
660
663
|
public static let selectAll: Swift.String
|
|
661
664
|
public static let submit: Swift.String
|
|
662
|
-
public enum ChangeFilter {
|
|
665
|
+
public enum ChangeFilter : Swift.Sendable {
|
|
663
666
|
public static let short: Swift.String
|
|
664
667
|
}
|
|
665
|
-
public enum DistortionCorrection {
|
|
668
|
+
public enum DistortionCorrection : Swift.Sendable {
|
|
666
669
|
public static let short: Swift.String
|
|
667
670
|
}
|
|
668
|
-
public enum RotateLeft {
|
|
671
|
+
public enum RotateLeft : Swift.Sendable {
|
|
669
672
|
public static let short: Swift.String
|
|
670
673
|
}
|
|
671
674
|
}
|
|
672
|
-
public enum Crop {
|
|
675
|
+
public enum Crop : Swift.Sendable {
|
|
673
676
|
public static let detect: Swift.String
|
|
674
677
|
public static let maximize: Swift.String
|
|
675
678
|
}
|
|
676
|
-
public enum Error {
|
|
679
|
+
public enum Error : Swift.Sendable {
|
|
677
680
|
public static func cameraPermissionDeniedMessage(_ p1: Any) -> Swift.String
|
|
678
681
|
public static func cameraPermissionDeniedTitle(_ p1: Any) -> Swift.String
|
|
679
682
|
}
|
|
680
|
-
public enum Filter {
|
|
683
|
+
public enum Filter : Swift.Sendable {
|
|
681
684
|
public static let automatic: Swift.String
|
|
682
685
|
public static let automaticBlackAndWhite: Swift.String
|
|
683
686
|
public static let automaticColor: Swift.String
|
|
@@ -692,15 +695,15 @@ public enum GSSDKStrings {
|
|
|
692
695
|
public static let strongColor: Swift.String
|
|
693
696
|
public static let strongMonochrome: Swift.String
|
|
694
697
|
}
|
|
695
|
-
public enum Flash {
|
|
698
|
+
public enum Flash : Swift.Sendable {
|
|
696
699
|
public static let mode: Swift.String
|
|
697
|
-
public enum Mode {
|
|
700
|
+
public enum Mode : Swift.Sendable {
|
|
698
701
|
public static let auto: Swift.String
|
|
699
702
|
public static let off: Swift.String
|
|
700
703
|
public static let on: Swift.String
|
|
701
704
|
}
|
|
702
705
|
}
|
|
703
|
-
public enum Flow {
|
|
706
|
+
public enum Flow : Swift.Sendable {
|
|
704
707
|
public static let addPage: Swift.String
|
|
705
708
|
public static let addPages: Swift.String
|
|
706
709
|
public static let cancel: Swift.String
|
|
@@ -711,20 +714,20 @@ public enum GSSDKStrings {
|
|
|
711
714
|
public static func prefixedPageOrder(_ p1: Swift.Int, _ p2: Swift.Int) -> Swift.String
|
|
712
715
|
public static let retake: Swift.String
|
|
713
716
|
public static let reviewAndSubmit: Swift.String
|
|
714
|
-
public enum ConfirmCancellation {
|
|
717
|
+
public enum ConfirmCancellation : Swift.Sendable {
|
|
715
718
|
public static let keepScanning: Swift.String
|
|
716
719
|
}
|
|
717
|
-
public enum Progress {
|
|
720
|
+
public enum Progress : Swift.Sendable {
|
|
718
721
|
public static let generatingDocument: Swift.String
|
|
719
722
|
public static let recognizingText: Swift.String
|
|
720
723
|
}
|
|
721
724
|
}
|
|
722
|
-
public enum ReadableCodeFlowBatch {
|
|
725
|
+
public enum ReadableCodeFlowBatch : Swift.Sendable {
|
|
723
726
|
public static let empty: Swift.String
|
|
724
727
|
public static let scannedCodes: Swift.String
|
|
725
728
|
public static func scannedCodesCount(_ p1: Swift.Int) -> Swift.String
|
|
726
729
|
}
|
|
727
|
-
public enum UserGuidance {
|
|
730
|
+
public enum UserGuidance : Swift.Sendable {
|
|
728
731
|
public static let documentFound: Swift.String
|
|
729
732
|
public static let dragPages: Swift.String
|
|
730
733
|
public static let readability: Swift.String
|
|
@@ -793,6 +796,32 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
793
796
|
@_Concurrency.MainActor public static func scanFlowWithConfiguration(_ configuration: GSSDK.GSKScanFlowConfiguration) -> Self
|
|
794
797
|
@objc(startFromViewController:onSuccess:failure:) nonisolated final public func start(from viewController: UIKit.UIViewController, onSuccess completionBlock: @escaping (GSSDK.GSKScanFlowResult) -> Swift.Void, failure errorBlock: @escaping (any Swift.Error) -> Swift.Void)
|
|
795
798
|
}
|
|
799
|
+
public enum GSKAutoCropConfidenceLevel : Swift.String, Swift.CaseIterable {
|
|
800
|
+
case lowest
|
|
801
|
+
case low
|
|
802
|
+
case medium
|
|
803
|
+
case high
|
|
804
|
+
case highest
|
|
805
|
+
public init?(rawValue: Swift.String)
|
|
806
|
+
public typealias AllCases = [GSSDK.GSKAutoCropConfidenceLevel]
|
|
807
|
+
public typealias RawValue = Swift.String
|
|
808
|
+
nonisolated public static var allCases: [GSSDK.GSKAutoCropConfidenceLevel] {
|
|
809
|
+
get
|
|
810
|
+
}
|
|
811
|
+
public var rawValue: Swift.String {
|
|
812
|
+
get
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
public enum GSKCropValidation : Swift.Hashable {
|
|
816
|
+
case never
|
|
817
|
+
case always
|
|
818
|
+
case whenConfidenceBelowOrEqual(GSSDK.GSKAutoCropConfidenceLevel)
|
|
819
|
+
public static func == (a: GSSDK.GSKCropValidation, b: GSSDK.GSKCropValidation) -> Swift.Bool
|
|
820
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
821
|
+
public var hashValue: Swift.Int {
|
|
822
|
+
get
|
|
823
|
+
}
|
|
824
|
+
}
|
|
796
825
|
@objc @_inheritsConvenienceInitializers @objcMembers final public class GSKScanFlowConfiguration : ObjectiveC.NSObject {
|
|
797
826
|
@objc final public var source: GSSDK.GSKScanFlowSource
|
|
798
827
|
@objc final public var sourceImageURL: Foundation.URL?
|
|
@@ -805,6 +834,7 @@ extension GSSDK.GSKOCRLanguage : Swift.Equatable, Swift.Hashable {
|
|
|
805
834
|
@objc final public var skipPostProcessingScreen: Swift.Bool
|
|
806
835
|
@objc final public var postProcessingActions: GSSDK.GSKScanFlowPostProcessingActions
|
|
807
836
|
final public var defaultCurvatureCorrectionMode: GSSDK.GSKScanFlowCurvatureCorrectionMode
|
|
837
|
+
final public var showCropValidation: GSSDK.GSKCropValidation
|
|
808
838
|
@objc final public var pdfPageSize: GSSDK.GSKScanFlowPDFPageSize
|
|
809
839
|
@objc final public var flashButtonHidden: Swift.Bool
|
|
810
840
|
@objc final public var photoLibraryButtonHidden: Swift.Bool
|
|
@@ -1178,6 +1208,9 @@ extension GSSDK.GSKScanFlowFilterType : Swift.Equatable {}
|
|
|
1178
1208
|
extension GSSDK.GSKScanFlowFilterType : Swift.Hashable {}
|
|
1179
1209
|
extension GSSDK.GSKScanFlowFilterType : Swift.RawRepresentable {}
|
|
1180
1210
|
extension GSSDK.GSKScanFlow : Swift.Sendable {}
|
|
1211
|
+
extension GSSDK.GSKAutoCropConfidenceLevel : Swift.Equatable {}
|
|
1212
|
+
extension GSSDK.GSKAutoCropConfidenceLevel : Swift.Hashable {}
|
|
1213
|
+
extension GSSDK.GSKAutoCropConfidenceLevel : Swift.RawRepresentable {}
|
|
1181
1214
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.Equatable {}
|
|
1182
1215
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.Hashable {}
|
|
1183
1216
|
extension GSSDK.GSKScanFlowCurvatureCorrectionMode : Swift.RawRepresentable {}
|