@thegrizzlylabs/cordova-plugin-genius-scan 5.13.0 → 5.14.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/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/GeniusScan.java +9 -1
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Assets.car +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +2 -114
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +6 -6
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -3
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +3 -3
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +4626 -4545
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Assets.car +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +4 -228
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +6 -6
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -3
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -3
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +6 -6
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -3
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -3
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +4619 -4538
- package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/GSSDK.yml +4565 -4475
- package/src/ios/GeniusScan.m +39 -0
- package/types/index.d.ts +105 -0
- package/www/GeniusScan.js +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegrizzlylabs/cordova-plugin-genius-scan",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.14.0",
|
|
4
4
|
"description": "Cordova Plugin for Genius Scan SDK",
|
|
5
5
|
"author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)",
|
|
6
6
|
"homepage": "https://geniusscansdk.com/",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="5.
|
|
2
|
+
<plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="5.14.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<name>Genius Scan</name>
|
|
4
4
|
<js-module name="GeniusScan" src="www/GeniusScan.js">
|
|
5
5
|
<clobbers target="cordova.plugins.GeniusScan" />
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<config-file parent="/manifest/application" target="AndroidManifest.xml" />
|
|
14
14
|
<source-file src="src/android/GeniusScan.java" target-dir="src/com/geniusscansdk/cordova" />
|
|
15
15
|
<framework custom="true" src="src/android/build.gradle" type="gradleReference" />
|
|
16
|
-
<framework src="com.geniusscansdk:gssdk:5.
|
|
16
|
+
<framework src="com.geniusscansdk:gssdk:5.14.0"/>
|
|
17
17
|
</platform>
|
|
18
18
|
|
|
19
19
|
<platform name="ios">
|
|
@@ -111,12 +111,20 @@ public class GeniusScan extends CordovaPlugin {
|
|
|
111
111
|
return true;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
if (action.equals("scanReadableCodesWithConfiguration")) {
|
|
115
|
+
callback = callbackContext;
|
|
116
|
+
Map<String, Object> configuration = toMap(args.getJSONObject(0));
|
|
117
|
+
this.cordova.setActivityResultCallback((CordovaPlugin) this);
|
|
118
|
+
PluginBridge.scanReadableCodesWithConfiguration(this.cordova.getActivity(), configuration);
|
|
119
|
+
return true;
|
|
120
|
+
}
|
|
121
|
+
|
|
114
122
|
return false;
|
|
115
123
|
}
|
|
116
124
|
|
|
117
125
|
@Override
|
|
118
126
|
public void onActivityResult(int requestCode, int resultCode, Intent data) {
|
|
119
|
-
PromiseResult result = PluginBridge.getPromiseResultFromActivityResult(
|
|
127
|
+
PromiseResult result = PluginBridge.getPromiseResultFromActivityResult(requestCode, resultCode, data);
|
|
120
128
|
if (result != null) {
|
|
121
129
|
callback.sendPluginResult(promiseResultToPluginResult(result));
|
|
122
130
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.
|
|
3
|
+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
4
4
|
#ifndef GSSDK_SWIFT_H
|
|
5
5
|
#define GSSDK_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
# if __has_include(<uchar.h>)
|
|
66
66
|
# include <uchar.h>
|
|
67
67
|
# elif !defined(__cplusplus)
|
|
68
|
+
typedef unsigned char char8_t;
|
|
68
69
|
typedef uint_least16_t char16_t;
|
|
69
70
|
typedef uint_least32_t char32_t;
|
|
70
71
|
# endif
|
|
@@ -316,18 +317,10 @@ SWIFT_PROTOCOL("_TtP5GSSDK20CGImageRepresentable_")
|
|
|
316
317
|
- (CGImageRef _Nullable)CGImageRepresentation SWIFT_WARN_UNUSED_RESULT;
|
|
317
318
|
@end
|
|
318
319
|
|
|
319
|
-
|
|
320
320
|
@interface AVCapturePhoto (SWIFT_EXTENSION(GSSDK)) <CGImageRepresentable>
|
|
321
321
|
@end
|
|
322
322
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
323
|
@class NSString;
|
|
330
|
-
|
|
331
324
|
/// Entry point of the SDK. Use this to initialize the SDK with your license key.
|
|
332
325
|
SWIFT_CLASS("_TtC5GSSDK3GSK")
|
|
333
326
|
@interface GSK : NSObject
|
|
@@ -358,7 +351,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
|
|
|
358
351
|
enum GSKCameraSessionFlashStatus : NSInteger;
|
|
359
352
|
enum GSKCameraSessionDocumentDetection : NSInteger;
|
|
360
353
|
@class GSKCameraSessionConfiguration;
|
|
361
|
-
|
|
362
354
|
SWIFT_CLASS("_TtC5GSSDK16GSKCameraSession")
|
|
363
355
|
@interface GSKCameraSession : NSObject
|
|
364
356
|
/// Minimum duration in <code>.aboutToTrigger</code> state before triggering the photo.
|
|
@@ -395,14 +387,10 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSTimeInterval minDu
|
|
|
395
387
|
@class AVCaptureMetadataOutput;
|
|
396
388
|
@class AVMetadataObject;
|
|
397
389
|
@class AVCaptureConnection;
|
|
398
|
-
|
|
399
390
|
@interface GSKCameraSession (SWIFT_EXTENSION(GSSDK)) <AVCaptureMetadataOutputObjectsDelegate>
|
|
400
391
|
- (void)captureOutput:(AVCaptureMetadataOutput * _Nonnull)output didOutputMetadataObjects:(NSArray<AVMetadataObject *> * _Nonnull)metadataObjects fromConnection:(AVCaptureConnection * _Nonnull)connection;
|
|
401
392
|
@end
|
|
402
393
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
394
|
@interface GSKCameraSession (SWIFT_EXTENSION(GSSDK))
|
|
407
395
|
/// Manually take a photo
|
|
408
396
|
/// If autoTriggerEnabled is true, the photo is taken automatically when the frame is detected.
|
|
@@ -415,11 +403,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSTimeInterval minDu
|
|
|
415
403
|
- (void)takePhoto;
|
|
416
404
|
@end
|
|
417
405
|
|
|
418
|
-
|
|
419
|
-
|
|
420
406
|
@class AVCapturePhotoOutput;
|
|
421
407
|
@class AVCaptureResolvedPhotoSettings;
|
|
422
|
-
|
|
423
408
|
@interface GSKCameraSession (SWIFT_EXTENSION(GSSDK)) <AVCapturePhotoCaptureDelegate>
|
|
424
409
|
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)output willBeginCaptureForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings;
|
|
425
410
|
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)output willCapturePhotoForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings;
|
|
@@ -428,9 +413,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) NSTimeInterval minDu
|
|
|
428
413
|
- (void)captureOutput:(AVCapturePhotoOutput * _Nonnull)output didFinishCaptureForResolvedSettings:(AVCaptureResolvedPhotoSettings * _Nonnull)resolvedSettings error:(NSError * _Nullable)error;
|
|
429
414
|
@end
|
|
430
415
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
416
|
/// The configuration for a camera session.
|
|
435
417
|
SWIFT_CLASS("_TtC5GSSDK29GSKCameraSessionConfiguration")
|
|
436
418
|
@interface GSKCameraSessionConfiguration : NSObject
|
|
@@ -477,7 +459,6 @@ typedef SWIFT_ENUM(NSInteger, GSKCameraSessionFlashStatus, open) {
|
|
|
477
459
|
@class NSCoder;
|
|
478
460
|
@protocol UIViewControllerTransitionCoordinator;
|
|
479
461
|
@class NSBundle;
|
|
480
|
-
|
|
481
462
|
/// A ready-to-use camera interface for scanning documents.
|
|
482
463
|
SWIFT_CLASS("_TtC5GSSDK23GSKCameraViewController")
|
|
483
464
|
@interface GSKCameraViewController : UIViewController
|
|
@@ -493,21 +474,17 @@ SWIFT_CLASS("_TtC5GSSDK23GSKCameraViewController")
|
|
|
493
474
|
@end
|
|
494
475
|
|
|
495
476
|
@class GSKView;
|
|
496
|
-
|
|
497
477
|
@interface GSKCameraViewController (SWIFT_EXTENSION(GSSDK)) <GSKViewDelegate>
|
|
498
478
|
- (void)cameraView:(GSKView * _Nonnull)cameraView requestedFocusAtPoint:(CGPoint)focusPoint;
|
|
499
479
|
@end
|
|
500
480
|
|
|
501
|
-
|
|
502
481
|
@interface GSKCameraViewController (SWIFT_EXTENSION(GSSDK))
|
|
503
482
|
/// Snap the photo
|
|
504
483
|
- (void)takePhoto;
|
|
505
484
|
@end
|
|
506
485
|
|
|
507
|
-
|
|
508
486
|
@class GSKScan;
|
|
509
487
|
@class GSKQuadrangle;
|
|
510
|
-
|
|
511
488
|
@interface GSKCameraViewController (SWIFT_EXTENSION(GSSDK))
|
|
512
489
|
- (void)cameraSessionDidSetup:(GSKCameraSession * _Nonnull)cameraSession;
|
|
513
490
|
- (void)cameraSession:(GSKCameraSession * _Nonnull)cameraSession setupFailedWithError:(NSError * _Nonnull)error;
|
|
@@ -544,7 +521,6 @@ typedef SWIFT_ENUM(NSInteger, GSKDocumentFinderImageType, closed) {
|
|
|
544
521
|
@class GSKPDFDocument;
|
|
545
522
|
@protocol GSKDocumentImageProcessor;
|
|
546
523
|
@class GSKDocumentGeneratorConfiguration;
|
|
547
|
-
|
|
548
524
|
/// This class exposes the capacility to generate a PDF document file.
|
|
549
525
|
SWIFT_CLASS("_TtC5GSSDK20GSKDocumentGenerator")
|
|
550
526
|
@interface GSKDocumentGenerator : NSObject
|
|
@@ -568,7 +544,6 @@ SWIFT_CLASS("_TtC5GSSDK20GSKDocumentGenerator")
|
|
|
568
544
|
|
|
569
545
|
enum GSKDocumentGeneratorFileFormat : NSInteger;
|
|
570
546
|
@class GSKDocumentGeneratorDebugConfiguration;
|
|
571
|
-
|
|
572
547
|
/// A configuration for the document generator.
|
|
573
548
|
SWIFT_CLASS("_TtC5GSSDK33GSKDocumentGeneratorConfiguration")
|
|
574
549
|
@interface GSKDocumentGeneratorConfiguration : NSObject
|
|
@@ -592,12 +567,10 @@ SWIFT_CLASS("_TtC5GSSDK33GSKDocumentGeneratorConfiguration")
|
|
|
592
567
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
593
568
|
@end
|
|
594
569
|
|
|
595
|
-
|
|
596
570
|
@interface GSKDocumentGeneratorConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
597
571
|
- (nullable instancetype)initWithDictionary:(NSDictionary<NSString *, id> * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error;
|
|
598
572
|
@end
|
|
599
573
|
|
|
600
|
-
|
|
601
574
|
SWIFT_CLASS("_TtC5GSSDK38GSKDocumentGeneratorDebugConfiguration")
|
|
602
575
|
@interface GSKDocumentGeneratorDebugConfiguration : NSObject
|
|
603
576
|
/// If true, OCR’ed text will visible on the PDF.
|
|
@@ -630,7 +603,6 @@ typedef SWIFT_ENUM(NSInteger, GSKDocumentGeneratorFileFormat, open) {
|
|
|
630
603
|
GSKDocumentGeneratorFileFormatTIFF SWIFT_COMPILE_NAME("tiff") = 1,
|
|
631
604
|
};
|
|
632
605
|
|
|
633
|
-
|
|
634
606
|
/// Used to preprocess pages of the PDF generation.
|
|
635
607
|
/// When you generate a PDF document from images, you may want to apply some preprocessing to each image
|
|
636
608
|
/// before inserting them in the document (for instance resizing them, including a watermark, etc.) You can
|
|
@@ -645,7 +617,6 @@ SWIFT_PROTOCOL("_TtP5GSSDK25GSKDocumentImageProcessor_")
|
|
|
645
617
|
- (NSString * _Nullable)process:(NSString * _Nonnull)inputFilePath SWIFT_WARN_UNUSED_RESULT;
|
|
646
618
|
@end
|
|
647
619
|
|
|
648
|
-
|
|
649
620
|
/// A configuration to specify the background cleaning to apply with GSKScanProcessor.
|
|
650
621
|
SWIFT_CLASS("_TtC5GSSDK40GSKFilterBackgroundCleaningConfiguration")
|
|
651
622
|
@interface GSKFilterBackgroundCleaningConfiguration : NSObject
|
|
@@ -674,18 +645,15 @@ SWIFT_CLASS("_TtC5GSSDK40GSKFilterBackgroundCleaningConfiguration")
|
|
|
674
645
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
675
646
|
@end
|
|
676
647
|
|
|
677
|
-
|
|
678
648
|
@interface GSKFilterBackgroundCleaningConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
679
649
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
680
650
|
@end
|
|
681
651
|
|
|
682
|
-
|
|
683
652
|
@interface GSKFilterBackgroundCleaningConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
684
653
|
@property (nonatomic, readonly) NSUInteger hash;
|
|
685
654
|
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
686
655
|
@end
|
|
687
656
|
|
|
688
|
-
|
|
689
657
|
/// A configuration to determine the colors of the output of the GSKScanProcessor.
|
|
690
658
|
SWIFT_CLASS("_TtC5GSSDK27GSKFilterColorConfiguration")
|
|
691
659
|
@interface GSKFilterColorConfiguration : NSObject
|
|
@@ -705,19 +673,16 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GSKFilterCol
|
|
|
705
673
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
706
674
|
@end
|
|
707
675
|
|
|
708
|
-
|
|
709
676
|
@interface GSKFilterColorConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
710
677
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
711
678
|
@end
|
|
712
679
|
|
|
713
|
-
|
|
714
680
|
@interface GSKFilterColorConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
715
681
|
@property (nonatomic, readonly) NSUInteger hash;
|
|
716
682
|
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
717
683
|
@end
|
|
718
684
|
|
|
719
685
|
@class GSKFilterLightingCorrectionConfiguration;
|
|
720
|
-
|
|
721
686
|
/// The configuration to use when applying a document enhancement filter.
|
|
722
687
|
SWIFT_CLASS("_TtC5GSSDK22GSKFilterConfiguration")
|
|
723
688
|
@interface GSKFilterConfiguration : NSObject
|
|
@@ -752,13 +717,11 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GSKFilterCon
|
|
|
752
717
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
753
718
|
@end
|
|
754
719
|
|
|
755
|
-
|
|
756
720
|
@interface GSKFilterConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
757
721
|
@property (nonatomic, readonly) NSUInteger hash;
|
|
758
722
|
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
759
723
|
@end
|
|
760
724
|
|
|
761
|
-
|
|
762
725
|
@interface GSKFilterConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
763
726
|
/// A soft document filter resulting in a grayscale document.
|
|
764
727
|
/// This filter is ideal for documents with light print such as carbon copy,
|
|
@@ -791,7 +754,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GSKFilterCon
|
|
|
791
754
|
+ (GSKFilterConfiguration * _Nonnull)darkBackground SWIFT_WARN_UNUSED_RESULT;
|
|
792
755
|
@end
|
|
793
756
|
|
|
794
|
-
|
|
795
757
|
/// A configuration to adjust the lighting of a document with GSKScanProcessor.
|
|
796
758
|
SWIFT_CLASS("_TtC5GSSDK40GSKFilterLightingCorrectionConfiguration")
|
|
797
759
|
@interface GSKFilterLightingCorrectionConfiguration : NSObject
|
|
@@ -811,20 +773,15 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GSKFilterLig
|
|
|
811
773
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
812
774
|
@end
|
|
813
775
|
|
|
814
|
-
|
|
815
776
|
@interface GSKFilterLightingCorrectionConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
816
777
|
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
817
778
|
@end
|
|
818
779
|
|
|
819
|
-
|
|
820
780
|
@interface GSKFilterLightingCorrectionConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
821
781
|
@property (nonatomic, readonly) NSUInteger hash;
|
|
822
782
|
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
823
783
|
@end
|
|
824
784
|
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
785
|
/// A document image processor that performs no operation and returns the input file as an output
|
|
829
786
|
SWIFT_CLASS("_TtC5GSSDK29GSKNoopDocumentImageProcessor")
|
|
830
787
|
@interface GSKNoopDocumentImageProcessor : NSObject <GSKDocumentImageProcessor>
|
|
@@ -835,7 +792,6 @@ SWIFT_CLASS("_TtC5GSSDK29GSKNoopDocumentImageProcessor")
|
|
|
835
792
|
@protocol GSKLogger;
|
|
836
793
|
@class GSKOCRConfiguration;
|
|
837
794
|
@class GSKOCRResult;
|
|
838
|
-
|
|
839
795
|
/// A type that performs Optical Character Recognition (OCR) on a scanned document.
|
|
840
796
|
SWIFT_CLASS("_TtC5GSSDK6GSKOCR")
|
|
841
797
|
@interface GSKOCR : NSObject
|
|
@@ -856,7 +812,6 @@ SWIFT_CLASS("_TtC5GSSDK6GSKOCR")
|
|
|
856
812
|
- (void)recognizeTextForImageAtPath:(NSString * _Nonnull)imagePath ocrConfiguration:(GSKOCRConfiguration * _Nonnull)configuration onProgress:(void (^ _Nullable)(float))progressBlock completionHandler:(void (^ _Nonnull)(GSKOCRResult * _Nullable, NSError * _Nullable))completionHandler;
|
|
857
813
|
@end
|
|
858
814
|
|
|
859
|
-
|
|
860
815
|
/// The configuration for an OCR operation.
|
|
861
816
|
SWIFT_CLASS("_TtC5GSSDK19GSKOCRConfiguration")
|
|
862
817
|
@interface GSKOCRConfiguration : NSObject
|
|
@@ -869,7 +824,6 @@ SWIFT_CLASS("_TtC5GSSDK19GSKOCRConfiguration")
|
|
|
869
824
|
@end
|
|
870
825
|
|
|
871
826
|
@class GSKTextLayout;
|
|
872
|
-
|
|
873
827
|
/// The results of an OCR operation
|
|
874
828
|
SWIFT_CLASS("_TtC5GSSDK12GSKOCRResult")
|
|
875
829
|
@interface GSKOCRResult : NSObject
|
|
@@ -884,7 +838,6 @@ SWIFT_CLASS("_TtC5GSSDK12GSKOCRResult")
|
|
|
884
838
|
|
|
885
839
|
@class NSDate;
|
|
886
840
|
@class GSKPDFPage;
|
|
887
|
-
|
|
888
841
|
/// Describes the structure of a PDF document for the PDF generator.
|
|
889
842
|
SWIFT_CLASS("_TtC5GSSDK14GSKPDFDocument")
|
|
890
843
|
@interface GSKPDFDocument : NSObject
|
|
@@ -907,7 +860,6 @@ SWIFT_CLASS("_TtC5GSSDK14GSKPDFDocument")
|
|
|
907
860
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
908
861
|
@end
|
|
909
862
|
|
|
910
|
-
|
|
911
863
|
@interface GSKPDFDocument (SWIFT_EXTENSION(GSSDK))
|
|
912
864
|
/// Initialize a GSKPDFDocument with a dictionary.
|
|
913
865
|
/// This is used for Genius Scan SDK’s cross-platform plugins integration and shouldn’t be relied on.
|
|
@@ -915,7 +867,6 @@ SWIFT_CLASS("_TtC5GSSDK14GSKPDFDocument")
|
|
|
915
867
|
@end
|
|
916
868
|
|
|
917
869
|
@class GSKPDFSize;
|
|
918
|
-
|
|
919
870
|
/// Describes a page of a PDF document for the PDF generator.
|
|
920
871
|
SWIFT_CLASS("_TtC5GSSDK10GSKPDFPage")
|
|
921
872
|
@interface GSKPDFPage : NSObject
|
|
@@ -927,7 +878,6 @@ SWIFT_CLASS("_TtC5GSSDK10GSKPDFPage")
|
|
|
927
878
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
928
879
|
@end
|
|
929
880
|
|
|
930
|
-
|
|
931
881
|
/// Physical size of a PDF page in inches.
|
|
932
882
|
/// If the aspect ratio doesn’t match the aspect ratio of the page in pixels,
|
|
933
883
|
/// margins will be added on both sides of the page image.
|
|
@@ -944,7 +894,6 @@ SWIFT_CLASS("_TtC5GSSDK10GSKPDFSize")
|
|
|
944
894
|
|
|
945
895
|
@class GSKReadableCodeFlowConfiguration;
|
|
946
896
|
@class GSKReadableCodeFlowResult;
|
|
947
|
-
|
|
948
897
|
/// A flow for scanning readable codes (barcodes, QR codes, etc.)
|
|
949
898
|
SWIFT_CLASS("_TtC5GSSDK19GSKReadableCodeFlow")
|
|
950
899
|
@interface GSKReadableCodeFlow : NSObject
|
|
@@ -1018,7 +967,6 @@ SWIFT_CLASS("_TtC5GSSDK19GSKReadableCodeFlow")
|
|
|
1018
967
|
@end
|
|
1019
968
|
|
|
1020
969
|
@class NSError;
|
|
1021
|
-
|
|
1022
970
|
@interface GSKReadableCodeFlow (SWIFT_EXTENSION(GSSDK))
|
|
1023
971
|
/// Instantiates a <code>GSKReadableCodeFlow</code> instance with the provided configuration.
|
|
1024
972
|
/// This initializer is only available from Objective-C.
|
|
@@ -1034,7 +982,6 @@ SWIFT_CLASS("_TtC5GSSDK19GSKReadableCodeFlow")
|
|
|
1034
982
|
@end
|
|
1035
983
|
|
|
1036
984
|
@class UIColor;
|
|
1037
|
-
|
|
1038
985
|
/// Configuration for the UI readable code scanning flow
|
|
1039
986
|
/// This class allows customization of which barcode and QR code formats should be detected
|
|
1040
987
|
/// during the scanning process. By default, all supported formats are enabled.
|
|
@@ -1070,7 +1017,6 @@ SWIFT_CLASS("_TtC5GSSDK32GSKReadableCodeFlowConfiguration")
|
|
|
1070
1017
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1071
1018
|
@end
|
|
1072
1019
|
|
|
1073
|
-
|
|
1074
1020
|
@interface GSKReadableCodeFlowConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
1075
1021
|
/// Create a configuration from a dictionary.
|
|
1076
1022
|
/// This is used for interfacing with cross-platform plugins but shouldn’t
|
|
@@ -1078,9 +1024,6 @@ SWIFT_CLASS("_TtC5GSSDK32GSKReadableCodeFlowConfiguration")
|
|
|
1078
1024
|
+ (GSKReadableCodeFlowConfiguration * _Nullable)configurationWithDictionary:(NSDictionary * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1079
1025
|
@end
|
|
1080
1026
|
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
1027
|
/// Enum that defines various errors that can occur during a readable code flow.
|
|
1085
1028
|
typedef SWIFT_ENUM(NSInteger, GSKReadableCodeFlowError, open) {
|
|
1086
1029
|
/// User has canceled the readable code flow
|
|
@@ -1094,7 +1037,6 @@ typedef SWIFT_ENUM(NSInteger, GSKReadableCodeFlowError, open) {
|
|
|
1094
1037
|
};
|
|
1095
1038
|
static NSString * _Nonnull const GSKReadableCodeFlowErrorDomain = @"GSSDK.GSKReadableCodeFlowError";
|
|
1096
1039
|
|
|
1097
|
-
|
|
1098
1040
|
/// The result of a readable code scanning flow
|
|
1099
1041
|
/// This class encapsulates the successful outcome of a readable code scanning session,
|
|
1100
1042
|
/// containing the detected barcode or QR code data.
|
|
@@ -1104,7 +1046,6 @@ SWIFT_CLASS("_TtC5GSSDK25GSKReadableCodeFlowResult")
|
|
|
1104
1046
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1105
1047
|
@end
|
|
1106
1048
|
|
|
1107
|
-
|
|
1108
1049
|
@interface GSKReadableCodeFlowResult (SWIFT_EXTENSION(GSSDK))
|
|
1109
1050
|
/// Returns a dictionary representation of the result
|
|
1110
1051
|
/// The dictionary contains:
|
|
@@ -1133,7 +1074,6 @@ typedef SWIFT_ENUM(NSInteger, GSKReceiptCategory, open) {
|
|
|
1133
1074
|
GSKReceiptCategoryOther = 5,
|
|
1134
1075
|
};
|
|
1135
1076
|
|
|
1136
|
-
|
|
1137
1077
|
/// A VAT rate and its associated amount detected on a receipt.
|
|
1138
1078
|
SWIFT_CLASS("_TtC5GSSDK13GSKReceiptVAT")
|
|
1139
1079
|
@interface GSKReceiptVAT : NSObject
|
|
@@ -1143,7 +1083,6 @@ SWIFT_CLASS("_TtC5GSSDK13GSKReceiptVAT")
|
|
|
1143
1083
|
@end
|
|
1144
1084
|
|
|
1145
1085
|
@class GSKScanFlowConfiguration;
|
|
1146
|
-
|
|
1147
1086
|
/// A high-level scanner module.
|
|
1148
1087
|
/// You present it and when the user is done, you obtain a result object containing the scanned documents.
|
|
1149
1088
|
/// The scan flow can be customized with a <code>GSKScanFlowConfiguration</code> instance.
|
|
@@ -1155,7 +1094,6 @@ SWIFT_CLASS("_TtC5GSSDK11GSKScanFlow")
|
|
|
1155
1094
|
@end
|
|
1156
1095
|
|
|
1157
1096
|
@class GSKScanFlowResult;
|
|
1158
|
-
|
|
1159
1097
|
@interface GSKScanFlow (SWIFT_EXTENSION(GSSDK))
|
|
1160
1098
|
/// Instantiates a <code>GSKScanFlow</code> instance with the provided configuration.
|
|
1161
1099
|
/// This initializer is only available from Objective-C.
|
|
@@ -1169,7 +1107,6 @@ SWIFT_CLASS("_TtC5GSSDK11GSKScanFlow")
|
|
|
1169
1107
|
- (void)startFromViewController:(UIViewController * _Nonnull)viewController onSuccess:(void (^ _Nonnull)(GSKScanFlowResult * _Nonnull))completionBlock failure:(void (^ _Nonnull)(NSError * _Nonnull))errorBlock;
|
|
1170
1108
|
@end
|
|
1171
1109
|
|
|
1172
|
-
|
|
1173
1110
|
enum GSKScanFlowSource : NSUInteger;
|
|
1174
1111
|
@class NSURL;
|
|
1175
1112
|
enum GSKScanOrientation : NSInteger;
|
|
@@ -1178,7 +1115,6 @@ enum GSKScanFlowPDFPageSize : NSUInteger;
|
|
|
1178
1115
|
enum GSKScanFlowFlashMode : NSUInteger;
|
|
1179
1116
|
enum GSKScanFlowMultiPageFormat : NSUInteger;
|
|
1180
1117
|
@class GSKScanFlowOCRConfiguration;
|
|
1181
|
-
|
|
1182
1118
|
/// Enables configuration of a <code>GSKScanFlow</code> instance.
|
|
1183
1119
|
/// Pass an instance of this class to the initializer of <code>GSKScanFlow</code>
|
|
1184
1120
|
/// to build the desired scan flow.
|
|
@@ -1253,12 +1189,10 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
|
|
|
1253
1189
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1254
1190
|
@end
|
|
1255
1191
|
|
|
1256
|
-
|
|
1257
1192
|
@interface GSKScanFlowConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
1258
1193
|
- (BOOL)validate:(NSError * _Nullable * _Nullable)error;
|
|
1259
1194
|
@end
|
|
1260
1195
|
|
|
1261
|
-
|
|
1262
1196
|
@interface GSKScanFlowConfiguration (SWIFT_EXTENSION(GSSDK))
|
|
1263
1197
|
/// Create a configuration from a dictionary.
|
|
1264
1198
|
/// This is used for interfacing with cross-platform plugins but shouldn’t
|
|
@@ -1266,8 +1200,6 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
|
|
|
1266
1200
|
+ (nullable instancetype)configurationWithDictionary:(NSDictionary * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1267
1201
|
@end
|
|
1268
1202
|
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
1203
|
/// Enum that defines various errors that can occur during a scan flow.
|
|
1272
1204
|
typedef SWIFT_ENUM(NSInteger, GSKScanFlowError, open) {
|
|
1273
1205
|
/// User has canceled the scan flow
|
|
@@ -1323,7 +1255,6 @@ typedef SWIFT_ENUM(NSUInteger, GSKScanFlowMultiPageFormat, open) {
|
|
|
1323
1255
|
GSKScanFlowTIFF SWIFT_COMPILE_NAME("TIFF") = 2,
|
|
1324
1256
|
};
|
|
1325
1257
|
|
|
1326
|
-
|
|
1327
1258
|
/// The configuration for text recognition
|
|
1328
1259
|
SWIFT_CLASS("_TtC5GSSDK27GSKScanFlowOCRConfiguration")
|
|
1329
1260
|
@interface GSKScanFlowOCRConfiguration : NSObject
|
|
@@ -1335,10 +1266,6 @@ SWIFT_CLASS("_TtC5GSSDK27GSKScanFlowOCRConfiguration")
|
|
|
1335
1266
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1336
1267
|
@end
|
|
1337
1268
|
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
1269
|
/// The result of the text recognition.
|
|
1343
1270
|
SWIFT_CLASS("_TtC5GSSDK20GSKScanFlowOCRResult")
|
|
1344
1271
|
@interface GSKScanFlowOCRResult : NSObject
|
|
@@ -1349,8 +1276,6 @@ SWIFT_CLASS("_TtC5GSSDK20GSKScanFlowOCRResult")
|
|
|
1349
1276
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1350
1277
|
@end
|
|
1351
1278
|
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
1279
|
/// The generated PDF paper size.
|
|
1355
1280
|
typedef SWIFT_ENUM(NSUInteger, GSKScanFlowPDFPageSize, open) {
|
|
1356
1281
|
/// PDF page with a width of 8.27 inch (A4 width) and fitting height.
|
|
@@ -1362,7 +1287,6 @@ typedef SWIFT_ENUM(NSUInteger, GSKScanFlowPDFPageSize, open) {
|
|
|
1362
1287
|
};
|
|
1363
1288
|
|
|
1364
1289
|
@class GSKScanFlowScan;
|
|
1365
|
-
|
|
1366
1290
|
/// The result of a scan flow.
|
|
1367
1291
|
SWIFT_CLASS("_TtC5GSSDK17GSKScanFlowResult")
|
|
1368
1292
|
@interface GSKScanFlowResult : NSObject
|
|
@@ -1377,7 +1301,6 @@ SWIFT_CLASS("_TtC5GSSDK17GSKScanFlowResult")
|
|
|
1377
1301
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1378
1302
|
@end
|
|
1379
1303
|
|
|
1380
|
-
|
|
1381
1304
|
@interface GSKScanFlowResult (SWIFT_EXTENSION(GSSDK))
|
|
1382
1305
|
/// A dictionary representation of the result.
|
|
1383
1306
|
/// Convenient for interfacing with React Native, probably no reason to
|
|
@@ -1386,7 +1309,6 @@ SWIFT_CLASS("_TtC5GSSDK17GSKScanFlowResult")
|
|
|
1386
1309
|
@end
|
|
1387
1310
|
|
|
1388
1311
|
@class GSKScanFlowStructuredDataResult;
|
|
1389
|
-
|
|
1390
1312
|
/// A page captured by the scan flow.
|
|
1391
1313
|
SWIFT_CLASS("_TtC5GSSDK15GSKScanFlowScan")
|
|
1392
1314
|
@interface GSKScanFlowScan : NSObject
|
|
@@ -1406,7 +1328,6 @@ SWIFT_CLASS("_TtC5GSSDK15GSKScanFlowScan")
|
|
|
1406
1328
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1407
1329
|
@end
|
|
1408
1330
|
|
|
1409
|
-
|
|
1410
1331
|
/// The source for a scan flow
|
|
1411
1332
|
typedef SWIFT_ENUM(NSUInteger, GSKScanFlowSource, open) {
|
|
1412
1333
|
/// Scan using the camera
|
|
@@ -1420,7 +1341,6 @@ typedef SWIFT_ENUM(NSUInteger, GSKScanFlowSource, open) {
|
|
|
1420
1341
|
@class GSKStructuredDataBankDetails;
|
|
1421
1342
|
@class GSKStructuredDataContact;
|
|
1422
1343
|
@class GSKStructuredDataReceipt;
|
|
1423
|
-
|
|
1424
1344
|
/// The result of a structured data extraction.
|
|
1425
1345
|
SWIFT_CLASS("_TtC5GSSDK31GSKScanFlowStructuredDataResult")
|
|
1426
1346
|
@interface GSKScanFlowStructuredDataResult : NSObject
|
|
@@ -1435,7 +1355,6 @@ SWIFT_CLASS("_TtC5GSSDK31GSKScanFlowStructuredDataResult")
|
|
|
1435
1355
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1436
1356
|
@end
|
|
1437
1357
|
|
|
1438
|
-
|
|
1439
1358
|
/// Enum that describes how a document should be oriented/rotated
|
|
1440
1359
|
/// after it’s been captured.
|
|
1441
1360
|
typedef SWIFT_ENUM(NSInteger, GSKScanOrientation, open) {
|
|
@@ -1446,7 +1365,6 @@ typedef SWIFT_ENUM(NSInteger, GSKScanOrientation, open) {
|
|
|
1446
1365
|
GSKScanOrientationAutomatic = 1,
|
|
1447
1366
|
};
|
|
1448
1367
|
|
|
1449
|
-
|
|
1450
1368
|
/// Address data extracted from a business card document through OCR.
|
|
1451
1369
|
SWIFT_CLASS("_TtC5GSSDK24GSKStructuredDataAddress")
|
|
1452
1370
|
@interface GSKStructuredDataAddress : NSObject
|
|
@@ -1464,8 +1382,6 @@ SWIFT_CLASS("_TtC5GSSDK24GSKStructuredDataAddress")
|
|
|
1464
1382
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1465
1383
|
@end
|
|
1466
1384
|
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
1385
|
/// The bank details extracted from a document through OCR.
|
|
1470
1386
|
SWIFT_CLASS("_TtC5GSSDK28GSKStructuredDataBankDetails")
|
|
1471
1387
|
@interface GSKStructuredDataBankDetails : NSObject
|
|
@@ -1477,10 +1393,8 @@ SWIFT_CLASS("_TtC5GSSDK28GSKStructuredDataBankDetails")
|
|
|
1477
1393
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1478
1394
|
@end
|
|
1479
1395
|
|
|
1480
|
-
|
|
1481
1396
|
@class GSKStructuredDataPhoneNumber;
|
|
1482
1397
|
@class CNContact;
|
|
1483
|
-
|
|
1484
1398
|
/// Contact data extracted from a business card document through OCR.
|
|
1485
1399
|
SWIFT_CLASS("_TtC5GSSDK24GSKStructuredDataContact")
|
|
1486
1400
|
@interface GSKStructuredDataContact : NSObject
|
|
@@ -1502,8 +1416,6 @@ SWIFT_CLASS("_TtC5GSSDK24GSKStructuredDataContact")
|
|
|
1502
1416
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1503
1417
|
@end
|
|
1504
1418
|
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
1419
|
/// Class that enables structured data to be extracted from
|
|
1508
1420
|
/// scanned documents.
|
|
1509
1421
|
SWIFT_CLASS("_TtC5GSSDK26GSKStructuredDataExtractor")
|
|
@@ -1511,8 +1423,6 @@ SWIFT_CLASS("_TtC5GSSDK26GSKStructuredDataExtractor")
|
|
|
1511
1423
|
- (nonnull instancetype)init;
|
|
1512
1424
|
@end
|
|
1513
1425
|
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
1426
|
@interface GSKStructuredDataExtractor (SWIFT_EXTENSION(GSSDK))
|
|
1517
1427
|
/// Extract any bank details that were found in a given document by
|
|
1518
1428
|
/// passing in the result of performing OCR on that document. Use
|
|
@@ -1541,7 +1451,6 @@ typedef SWIFT_ENUM(NSInteger, GSKStructuredDataExtractorError, open) {
|
|
|
1541
1451
|
};
|
|
1542
1452
|
static NSString * _Nonnull const GSKStructuredDataExtractorErrorDomain = @"GSSDK.GSKStructuredDataExtractorError";
|
|
1543
1453
|
|
|
1544
|
-
|
|
1545
1454
|
/// Phone number data extracted from a business card document through OCR.
|
|
1546
1455
|
SWIFT_CLASS("_TtC5GSSDK28GSKStructuredDataPhoneNumber")
|
|
1547
1456
|
@interface GSKStructuredDataPhoneNumber : NSObject
|
|
@@ -1553,9 +1462,7 @@ SWIFT_CLASS("_TtC5GSSDK28GSKStructuredDataPhoneNumber")
|
|
|
1553
1462
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1554
1463
|
@end
|
|
1555
1464
|
|
|
1556
|
-
|
|
1557
1465
|
@class NSLocale;
|
|
1558
|
-
|
|
1559
1466
|
/// Receipt/invoice details extracted from a document through OCR.
|
|
1560
1467
|
SWIFT_CLASS("_TtC5GSSDK24GSKStructuredDataReceipt")
|
|
1561
1468
|
@interface GSKStructuredDataReceipt : NSObject
|
|
@@ -1576,8 +1483,6 @@ SWIFT_CLASS("_TtC5GSSDK24GSKStructuredDataReceipt")
|
|
|
1576
1483
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1577
1484
|
@end
|
|
1578
1485
|
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
1486
|
SWIFT_CLASS("_TtC5GSSDK13GSKTextLayout")
|
|
1582
1487
|
@interface GSKTextLayout : NSObject
|
|
1583
1488
|
@property (nonatomic, readonly, copy) NSString * _Nullable hocr;
|
|
@@ -1587,14 +1492,12 @@ SWIFT_CLASS("_TtC5GSSDK13GSKTextLayout")
|
|
|
1587
1492
|
@end
|
|
1588
1493
|
|
|
1589
1494
|
@class GSKTextLayoutToTextConverterResult;
|
|
1590
|
-
|
|
1591
1495
|
SWIFT_CLASS("_TtC5GSSDK28GSKTextLayoutToTextConverter")
|
|
1592
1496
|
@interface GSKTextLayoutToTextConverter : NSObject
|
|
1593
1497
|
- (GSKTextLayoutToTextConverterResult * _Nullable)convert:(GSKTextLayout * _Nonnull)textLayout error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1594
1498
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1595
1499
|
@end
|
|
1596
1500
|
|
|
1597
|
-
|
|
1598
1501
|
SWIFT_CLASS("_TtC5GSSDK34GSKTextLayoutToTextConverterResult")
|
|
1599
1502
|
@interface GSKTextLayoutToTextConverterResult : NSObject
|
|
1600
1503
|
/// The text reconstructed from the text layout.
|
|
@@ -1609,7 +1512,6 @@ SWIFT_CLASS("_TtC5GSSDK34GSKTextLayoutToTextConverterResult")
|
|
|
1609
1512
|
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1610
1513
|
@end
|
|
1611
1514
|
|
|
1612
|
-
|
|
1613
1515
|
SWIFT_CLASS("_TtC5GSSDK25GSKUIBackgroundProcessing")
|
|
1614
1516
|
@interface GSKUIBackgroundProcessing : NSObject
|
|
1615
1517
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GSKUIBackgroundProcessing * _Nonnull shared;)
|
|
@@ -1618,15 +1520,12 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GSKUIBackgro
|
|
|
1618
1520
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1619
1521
|
@end
|
|
1620
1522
|
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
1523
|
@interface GSKView (SWIFT_EXTENSION(GSSDK))
|
|
1624
1524
|
- (void)startSearchAnimation;
|
|
1625
1525
|
- (void)startSnapAnimationWithDuration:(NSTimeInterval)duration;
|
|
1626
1526
|
- (void)endSnapAnimation;
|
|
1627
1527
|
@end
|
|
1628
1528
|
|
|
1629
|
-
|
|
1630
1529
|
SWIFT_CLASS("_TtC5GSSDK14GSSDKResources")
|
|
1631
1530
|
@interface GSSDKResources : NSObject
|
|
1632
1531
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSBundle * _Nonnull bundle;)
|
|
@@ -1634,16 +1533,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSBundle * _
|
|
|
1634
1533
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1635
1534
|
@end
|
|
1636
1535
|
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
1536
|
@interface UIViewController (SWIFT_EXTENSION(GSSDK))
|
|
1648
1537
|
/// Return a status bar style appropriate for this view controller
|
|
1649
1538
|
/// based on the contrast between the status bar’s contents and the
|
|
@@ -1654,7 +1543,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSBundle * _
|
|
|
1654
1543
|
@property (nonatomic, readonly) UIInterfaceOrientationMask gsk_supportedInterfaceOrientations;
|
|
1655
1544
|
@end
|
|
1656
1545
|
|
|
1657
|
-
|
|
1658
1546
|
#endif
|
|
1659
1547
|
#if __has_attribute(external_source_symbol)
|
|
1660
1548
|
# pragma clang attribute pop
|
|
Binary file
|