@thegrizzlylabs/react-native-genius-scan 6.1.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.
Files changed (71) hide show
  1. package/README.md +7 -4
  2. package/android/build.gradle +1 -1
  3. package/index.d.ts +23 -1
  4. package/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -9
  5. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
  6. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
  7. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKDocumentDetector.h +21 -0
  8. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +35 -7
  9. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
  10. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +2063 -173
  11. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +64 -24
  12. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  13. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +64 -24
  14. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
  15. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
  16. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
  17. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
  18. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
  19. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
  20. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
  21. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
  22. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
  23. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
  24. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
  25. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
  26. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
  27. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
  28. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
  29. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
  30. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
  31. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
  32. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
  33. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
  34. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
  35. package/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
  36. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
  37. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
  38. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKDocumentDetector.h +21 -0
  39. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +70 -14
  40. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
  41. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +2063 -173
  42. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +64 -24
  43. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  44. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +64 -24
  45. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +2063 -173
  46. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +64 -24
  47. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  48. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +64 -24
  49. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PhoneNumberKit_GSKPhoneNumberKit.bundle/Info.plist +0 -0
  50. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.strings +0 -0
  51. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.strings +0 -0
  52. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.strings +0 -0
  53. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/en.lproj/GSSDK.strings +0 -0
  54. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.strings +0 -0
  55. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.strings +0 -0
  56. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.strings +0 -0
  57. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.strings +0 -0
  58. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/id.lproj/GSSDK.strings +0 -0
  59. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.strings +0 -0
  60. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.strings +0 -0
  61. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.strings +0 -0
  62. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.strings +0 -0
  63. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.strings +0 -0
  64. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.strings +0 -0
  65. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.strings +0 -0
  66. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.strings +0 -0
  67. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.strings +0 -0
  68. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.strings +0 -0
  69. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.strings +0 -0
  70. package/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hant.lproj/GSSDK.strings +0 -0
  71. package/package.json +1 -1
@@ -765,7 +765,7 @@ SWIFT_PROTOCOL("_TtP5GSSDK31GSKCameraViewControllerDelegate_")
765
765
  /// \param cameraViewController The camera view controller
766
766
  ///
767
767
  - (void)cameraViewControllerFailedToFindDocument:(GSKCameraViewController * _Nonnull)cameraViewController;
768
- /// The camera view controller real-time document detection will soon take the photo of a quadrangle, but if the document
768
+ /// The camera view controller real-time document detection will soon capture a detected document, but if the document
769
769
  /// detection is not stable enough, the process can still be
770
770
  /// cancelled.
771
771
  /// It’s a good time to tell the user to remain stable.
@@ -773,18 +773,36 @@ SWIFT_PROTOCOL("_TtP5GSSDK31GSKCameraViewControllerDelegate_")
773
773
  /// \param cameraViewController The camera view controller
774
774
  ///
775
775
  - (void)cameraViewControllerPhotoStabilizationDidStart:(GSKCameraViewController * _Nonnull)cameraViewController;
776
- /// The camera view controller is about to decide whether to automatically take a photo because the detection was stable enough.
776
+ /// The camera view controller is about to decide whether to automatically capture a detected document because the detection was stable enough.
777
777
  /// This is an override point where you can return <code>false</code> to stop that automatic process from proceeding.
778
778
  /// \param cameraViewController The camera view controller
779
779
  ///
780
780
  - (BOOL)cameraViewControllerShouldSnapPhoto:(GSKCameraViewController * _Nonnull)cameraViewController SWIFT_WARN_UNUSED_RESULT;
781
- /// The camera view controller is going to automatically take a photo because the detection was stable enough.
782
- /// The photo taking is underway and cannot be interrupted at this stage.
781
+ /// The camera view controller is going to capture a photo, whether the capture was triggered manually or automatically.
782
+ /// When the capture is automatic, this is called after <code>cameraViewController:willAutoCaptureDocumentWithQuadrangle:</code>.
783
783
  /// \param cameraViewController The camera view controller
784
784
  ///
785
- /// \param quadrangle The quadrangle of the document that will be photographed.
785
+ - (void)cameraViewControllerWillCapturePhoto:(GSKCameraViewController * _Nonnull)cameraViewController;
786
+ /// The camera view controller is going to automatically capture a detected document because the detection was stable enough.
787
+ /// The automatic capture is about to start and cannot be interrupted at this stage.
788
+ /// <ul>
789
+ /// <li>
790
+ /// Deprecated: Use <code>cameraViewController(_:willAutoCaptureDocumentWithQuadrangle:)</code> for automatic document captures
791
+ /// or <code>cameraViewControllerWillCapturePhoto(_:)</code> for any capture.
792
+ /// </li>
793
+ /// </ul>
794
+ /// \param cameraViewController The camera view controller
795
+ ///
796
+ /// \param quadrangle The quadrangle of the document that will be captured.
786
797
  ///
787
798
  - (void)cameraViewController:(GSKCameraViewController * _Nonnull)cameraViewController willSnapPhotoWithQuadrangle:(GSKQuadrangle * _Nonnull)quadrangle;
799
+ /// The camera view controller is going to automatically capture a detected document because the detection was stable enough.
800
+ /// The automatic capture is about to start and cannot be interrupted at this stage.
801
+ /// \param cameraViewController The camera view controller
802
+ ///
803
+ /// \param quadrangle The quadrangle of the document that will be captured.
804
+ ///
805
+ - (void)cameraViewController:(GSKCameraViewController * _Nonnull)cameraViewController willAutoCaptureDocumentWithQuadrangle:(GSKQuadrangle * _Nonnull)quadrangle;
788
806
  /// The camera view controller just took a photo, but it hasn’t been post-processed it yet
789
807
  /// \param cameraViewController The camera view controller
790
808
  ///
@@ -1224,7 +1242,8 @@ SWIFT_CLASS("_TtC5GSSDK14GSKPDFDocument")
1224
1242
  @property (nonatomic, readonly, copy) NSString * _Nullable title;
1225
1243
  /// If provided, this password will be used to protect the PDF document.
1226
1244
  /// It will need to be entered to view or edit the document.
1227
- /// RC4 encryption algorithm is used with a 128-bit key.
1245
+ /// AES-256 encryption is used.
1246
+ /// An empty password is treated as no password.
1228
1247
  @property (nonatomic, readonly, copy) NSString * _Nullable password;
1229
1248
  /// If provided, the keywords will be included in the PDF document properties
1230
1249
  @property (nonatomic, readonly, copy) NSString * _Nullable keywords;
@@ -1349,6 +1368,11 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
1349
1368
  /// will only scan a single page. The output document will always contain
1350
1369
  /// a single page. Defaults to <code>true</code>.
1351
1370
  @property (nonatomic) BOOL multiPage;
1371
+ /// Whether the user should be presented with a screen that lets them review all
1372
+ /// captured scans at the end of the scan flow, where they’ll be able to edit each
1373
+ /// scan once more before finally submitting the captured scans for processing.
1374
+ /// Defaults to <code>false</code>.
1375
+ @property (nonatomic) BOOL showFinalReview;
1352
1376
  /// What orientation that a scan should be rotated to after it’s been captured.
1353
1377
  /// Defaults to <code>automatic</code>. See <code>GSKScanOrientation</code> for more information.
1354
1378
  @property (nonatomic) enum GSKScanOrientation defaultScanOrientation;
@@ -1372,10 +1396,14 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
1372
1396
  /// Whether the photo library button should be hidden during camera-based scan flows. Defaults to <code>false</code>.
1373
1397
  @property (nonatomic) BOOL photoLibraryButtonHidden;
1374
1398
  /// Determines the default flash mode. Combine this with <code>flashButtonHidden</code>
1375
- /// if you want to only allow a specific flash mode. Defaults to <code>.auto</code>.
1399
+ /// if you want to only allow a specific flash mode. Defaults to <code>.off</code>.
1376
1400
  @property (nonatomic) enum GSKScanFlowFlashMode defaultFlashMode;
1377
1401
  /// Determines the document format. Defaults to <code>.PDF</code>.
1378
1402
  @property (nonatomic) enum GSKScanFlowMultiPageFormat multiPageFormat;
1403
+ /// Optional password used to protect generated PDF documents.
1404
+ /// An empty password is treated as no password.
1405
+ /// This only applies when <code>multiPageFormat</code> is <code>.pdf</code>.
1406
+ @property (nonatomic, copy) NSString * _Nullable pdfPassword;
1379
1407
  /// Custom font file used during PDF generation to embed an invisible text
1380
1408
  /// layer. If <code>nil</code>, a default font is used, which only supports Latin languages.
1381
1409
  @property (nonatomic, copy) NSURL * _Nullable pdfFontFileURL;
@@ -2562,7 +2590,7 @@ SWIFT_PROTOCOL("_TtP5GSSDK31GSKCameraViewControllerDelegate_")
2562
2590
  /// \param cameraViewController The camera view controller
2563
2591
  ///
2564
2592
  - (void)cameraViewControllerFailedToFindDocument:(GSKCameraViewController * _Nonnull)cameraViewController;
2565
- /// The camera view controller real-time document detection will soon take the photo of a quadrangle, but if the document
2593
+ /// The camera view controller real-time document detection will soon capture a detected document, but if the document
2566
2594
  /// detection is not stable enough, the process can still be
2567
2595
  /// cancelled.
2568
2596
  /// It’s a good time to tell the user to remain stable.
@@ -2570,18 +2598,36 @@ SWIFT_PROTOCOL("_TtP5GSSDK31GSKCameraViewControllerDelegate_")
2570
2598
  /// \param cameraViewController The camera view controller
2571
2599
  ///
2572
2600
  - (void)cameraViewControllerPhotoStabilizationDidStart:(GSKCameraViewController * _Nonnull)cameraViewController;
2573
- /// The camera view controller is about to decide whether to automatically take a photo because the detection was stable enough.
2601
+ /// The camera view controller is about to decide whether to automatically capture a detected document because the detection was stable enough.
2574
2602
  /// This is an override point where you can return <code>false</code> to stop that automatic process from proceeding.
2575
2603
  /// \param cameraViewController The camera view controller
2576
2604
  ///
2577
2605
  - (BOOL)cameraViewControllerShouldSnapPhoto:(GSKCameraViewController * _Nonnull)cameraViewController SWIFT_WARN_UNUSED_RESULT;
2578
- /// The camera view controller is going to automatically take a photo because the detection was stable enough.
2579
- /// The photo taking is underway and cannot be interrupted at this stage.
2606
+ /// The camera view controller is going to capture a photo, whether the capture was triggered manually or automatically.
2607
+ /// When the capture is automatic, this is called after <code>cameraViewController:willAutoCaptureDocumentWithQuadrangle:</code>.
2580
2608
  /// \param cameraViewController The camera view controller
2581
2609
  ///
2582
- /// \param quadrangle The quadrangle of the document that will be photographed.
2610
+ - (void)cameraViewControllerWillCapturePhoto:(GSKCameraViewController * _Nonnull)cameraViewController;
2611
+ /// The camera view controller is going to automatically capture a detected document because the detection was stable enough.
2612
+ /// The automatic capture is about to start and cannot be interrupted at this stage.
2613
+ /// <ul>
2614
+ /// <li>
2615
+ /// Deprecated: Use <code>cameraViewController(_:willAutoCaptureDocumentWithQuadrangle:)</code> for automatic document captures
2616
+ /// or <code>cameraViewControllerWillCapturePhoto(_:)</code> for any capture.
2617
+ /// </li>
2618
+ /// </ul>
2619
+ /// \param cameraViewController The camera view controller
2620
+ ///
2621
+ /// \param quadrangle The quadrangle of the document that will be captured.
2583
2622
  ///
2584
2623
  - (void)cameraViewController:(GSKCameraViewController * _Nonnull)cameraViewController willSnapPhotoWithQuadrangle:(GSKQuadrangle * _Nonnull)quadrangle;
2624
+ /// The camera view controller is going to automatically capture a detected document because the detection was stable enough.
2625
+ /// The automatic capture is about to start and cannot be interrupted at this stage.
2626
+ /// \param cameraViewController The camera view controller
2627
+ ///
2628
+ /// \param quadrangle The quadrangle of the document that will be captured.
2629
+ ///
2630
+ - (void)cameraViewController:(GSKCameraViewController * _Nonnull)cameraViewController willAutoCaptureDocumentWithQuadrangle:(GSKQuadrangle * _Nonnull)quadrangle;
2585
2631
  /// The camera view controller just took a photo, but it hasn’t been post-processed it yet
2586
2632
  /// \param cameraViewController The camera view controller
2587
2633
  ///
@@ -3021,7 +3067,8 @@ SWIFT_CLASS("_TtC5GSSDK14GSKPDFDocument")
3021
3067
  @property (nonatomic, readonly, copy) NSString * _Nullable title;
3022
3068
  /// If provided, this password will be used to protect the PDF document.
3023
3069
  /// It will need to be entered to view or edit the document.
3024
- /// RC4 encryption algorithm is used with a 128-bit key.
3070
+ /// AES-256 encryption is used.
3071
+ /// An empty password is treated as no password.
3025
3072
  @property (nonatomic, readonly, copy) NSString * _Nullable password;
3026
3073
  /// If provided, the keywords will be included in the PDF document properties
3027
3074
  @property (nonatomic, readonly, copy) NSString * _Nullable keywords;
@@ -3146,6 +3193,11 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
3146
3193
  /// will only scan a single page. The output document will always contain
3147
3194
  /// a single page. Defaults to <code>true</code>.
3148
3195
  @property (nonatomic) BOOL multiPage;
3196
+ /// Whether the user should be presented with a screen that lets them review all
3197
+ /// captured scans at the end of the scan flow, where they’ll be able to edit each
3198
+ /// scan once more before finally submitting the captured scans for processing.
3199
+ /// Defaults to <code>false</code>.
3200
+ @property (nonatomic) BOOL showFinalReview;
3149
3201
  /// What orientation that a scan should be rotated to after it’s been captured.
3150
3202
  /// Defaults to <code>automatic</code>. See <code>GSKScanOrientation</code> for more information.
3151
3203
  @property (nonatomic) enum GSKScanOrientation defaultScanOrientation;
@@ -3169,10 +3221,14 @@ SWIFT_CLASS("_TtC5GSSDK24GSKScanFlowConfiguration")
3169
3221
  /// Whether the photo library button should be hidden during camera-based scan flows. Defaults to <code>false</code>.
3170
3222
  @property (nonatomic) BOOL photoLibraryButtonHidden;
3171
3223
  /// Determines the default flash mode. Combine this with <code>flashButtonHidden</code>
3172
- /// if you want to only allow a specific flash mode. Defaults to <code>.auto</code>.
3224
+ /// if you want to only allow a specific flash mode. Defaults to <code>.off</code>.
3173
3225
  @property (nonatomic) enum GSKScanFlowFlashMode defaultFlashMode;
3174
3226
  /// Determines the document format. Defaults to <code>.PDF</code>.
3175
3227
  @property (nonatomic) enum GSKScanFlowMultiPageFormat multiPageFormat;
3228
+ /// Optional password used to protect generated PDF documents.
3229
+ /// An empty password is treated as no password.
3230
+ /// This only applies when <code>multiPageFormat</code> is <code>.pdf</code>.
3231
+ @property (nonatomic, copy) NSString * _Nullable pdfPassword;
3176
3232
  /// Custom font file used during PDF generation to embed an invisible text
3177
3233
  /// layer. If <code>nil</code>, a default font is used, which only supports Latin languages.
3178
3234
  @property (nonatomic, copy) NSURL * _Nullable pdfFontFileURL;