@regulaforensics/cordova-plugin-document-reader-api 6.9.0 → 7.1.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.
@@ -1,12 +1,14 @@
1
1
  #import <Cordova/CDVPlugin.h>
2
2
  #import <Foundation/Foundation.h>
3
3
  #import "RGLWJSONConstructor.h"
4
- #import "RGLWRegulaConfig.h"
4
+ #import "RGLWConfig.h"
5
5
  #import <DocumentReader/DocumentReader.h>
6
6
 
7
7
  @class DocReader;
8
8
 
9
- typedef void (^RGLWCallback)(NSString* _Nullable response);
9
+ typedef void (^RGLWCallback)(id _Nullable response);
10
+ typedef void (^RGLWEventSender)(NSString* _Nonnull event, id _Nullable data);
11
+ typedef void (^RGLWRFIDSignatureCallback)(NSData * _Nonnull signature);
10
12
 
11
13
  @interface RGLWDocumentReader : CDVPlugin<RGLRecordScanningProcessDelegate,
12
14
  RGLDocReaderRFIDDelegate,
@@ -14,12 +16,13 @@ typedef void (^RGLWCallback)(NSString* _Nullable response);
14
16
 
15
17
  @property (class) CDVInvokedUrlCommand* _Nullable command;
16
18
  @property (class) NSNumber* _Nullable databasePercentageDownloaded;
17
-
18
- - (void) sendEvent:(NSString*_Nullable)data :(NSString*_Nonnull)callbackId;
19
+ @property NSNumber* _Nonnull doRequestPACertificates;
20
+ @property NSNumber* _Nonnull doRequestTACertificates;
21
+ @property NSNumber* _Nonnull doRequestTASignature;
19
22
 
20
23
  @end
21
24
 
22
- typedef void (^RGLWRFIDSignatureCallback)(NSData * _Nonnull signature);
23
-
24
- @interface RGLWRFIDDelegateNoPA : NSObject<RGLDocReaderRFIDDelegate>
25
- @end
25
+ NSString* _Nonnull RGLWCompletionEvent;
26
+ NSString* _Nonnull RGLWDatabaseProgressEvent;
27
+ NSString* _Nonnull RGLWVideoEncoderCompletionEvent;
28
+ NSString* _Nonnull RGLWOnCustomButtonTappedEvent;