@regulaforensics/cordova-plugin-document-reader-api 6.7.0 → 6.7.2
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/example/config.xml +4 -1
- package/example/package.json +3 -3
- package/example/www/js/index.js +13 -26
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/DocumentReader.java +57 -53
- package/src/android/JSONConstructor.java +16 -9
- package/src/android/RegulaConfig.java +3 -0
- package/src/ios/RGLDocumentReader.m +55 -52
- package/src/ios/RGLWJSONConstructor.h +1 -1
- package/src/ios/RGLWJSONConstructor.m +56 -61
- package/src/ios/RegulaConfig.m +3 -0
- package/www/DocumentReader.js +262 -31
package/www/DocumentReader.js
CHANGED
|
@@ -174,6 +174,8 @@ class DocumentReaderTextField {
|
|
|
174
174
|
if (jsonObject["validityList"] != null)
|
|
175
175
|
for (const i in jsonObject["validityList"])
|
|
176
176
|
result.validityList.push(DocumentReaderValidity.fromJson(jsonObject["validityList"][i]))
|
|
177
|
+
result.comparisonStatus = jsonObject["comparisonStatus"]
|
|
178
|
+
result.validityStatus = jsonObject["validityStatus"]
|
|
177
179
|
|
|
178
180
|
return result
|
|
179
181
|
}
|
|
@@ -298,8 +300,10 @@ class DocumentReaderNotification {
|
|
|
298
300
|
const result = new DocumentReaderNotification()
|
|
299
301
|
|
|
300
302
|
result.code = jsonObject["code"]
|
|
301
|
-
result.attachment = jsonObject["attachment"]
|
|
302
303
|
result.value = jsonObject["value"]
|
|
304
|
+
result.notificationCode = jsonObject["notificationCode"]
|
|
305
|
+
result.dataFileType = jsonObject["dataFileType"]
|
|
306
|
+
result.progress = jsonObject["progress"]
|
|
303
307
|
|
|
304
308
|
return result
|
|
305
309
|
}
|
|
@@ -1016,7 +1020,9 @@ class DocumentReaderResults {
|
|
|
1016
1020
|
if (jsonObject == null) return null
|
|
1017
1021
|
const result = new DocumentReaderResults()
|
|
1018
1022
|
|
|
1023
|
+
result.videoCaptureSessionId = jsonObject["videoCaptureSessionId"]
|
|
1019
1024
|
result.chipPage = jsonObject["chipPage"]
|
|
1025
|
+
result.irElapsedTime = jsonObject["irElapsedTime"]
|
|
1020
1026
|
result.processingFinishedStatus = jsonObject["processingFinishedStatus"]
|
|
1021
1027
|
result.elapsedTime = jsonObject["elapsedTime"]
|
|
1022
1028
|
result.elapsedTimeRFID = jsonObject["elapsedTimeRFID"]
|
|
@@ -1046,6 +1052,7 @@ class DocumentReaderResults {
|
|
|
1046
1052
|
result.rfidSessionData = RFIDSessionData.fromJson(jsonObject["rfidSessionData"])
|
|
1047
1053
|
result.authenticityResult = DocumentReaderAuthenticityResult.fromJson(jsonObject["authenticityResult"])
|
|
1048
1054
|
result.barcodeResult = DocumentReaderBarcodeResult.fromJson(jsonObject["barcodeResult"])
|
|
1055
|
+
result.ppmIn = jsonObject["ppmIn"]
|
|
1049
1056
|
result.documentType = []
|
|
1050
1057
|
if (jsonObject["documentType"] != null)
|
|
1051
1058
|
for (const i in jsonObject["documentType"])
|
|
@@ -1055,6 +1062,173 @@ class DocumentReaderResults {
|
|
|
1055
1062
|
|
|
1056
1063
|
return result
|
|
1057
1064
|
}
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* @deprecated Use DocumentReader.textFieldValueBy...()
|
|
1068
|
+
*/
|
|
1069
|
+
getTextFieldValueByType({ fieldType, lcid = 0, source = -1, original = false }) {
|
|
1070
|
+
if (this.textResult == null) return null
|
|
1071
|
+
const field = this.findByTypeAndLcid(fieldType, lcid)
|
|
1072
|
+
if (field == null) return null
|
|
1073
|
+
const value = this.findBySource(field, source)
|
|
1074
|
+
if (value == null) return null
|
|
1075
|
+
return original ? value.originalValue : value.value
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* @deprecated
|
|
1080
|
+
*/
|
|
1081
|
+
getTextFieldStatusByType(fieldType, lcid = 0) {
|
|
1082
|
+
if (this.textResult == null) return 0
|
|
1083
|
+
const field = this.findByTypeAndLcid(fieldType, lcid)
|
|
1084
|
+
return field != null ? field.status : 0
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* @deprecated Use DocumentReader.graphicFieldImageBy...()
|
|
1089
|
+
*/
|
|
1090
|
+
getGraphicFieldImageByType({ fieldType, source = -1, pageIndex = -1, light = -1 }) {
|
|
1091
|
+
if (this.graphicResult == null) return null
|
|
1092
|
+
const foundFields = []
|
|
1093
|
+
|
|
1094
|
+
for (const field of this.graphicResult.fields)
|
|
1095
|
+
if (field.fieldType === fieldType)
|
|
1096
|
+
foundFields.push(field)
|
|
1097
|
+
if (source !== -1)
|
|
1098
|
+
for (const index in foundFields)
|
|
1099
|
+
if (foundFields[index].sourceType !== source)
|
|
1100
|
+
foundFields.splice(index, 1)
|
|
1101
|
+
if (light !== -1)
|
|
1102
|
+
for (const index in foundFields)
|
|
1103
|
+
if (foundFields[index].lightType !== light)
|
|
1104
|
+
foundFields.splice(index, 1)
|
|
1105
|
+
if (pageIndex !== -1)
|
|
1106
|
+
for (const index in foundFields)
|
|
1107
|
+
if (foundFields[index].pageIndex !== pageIndex)
|
|
1108
|
+
foundFields.splice(index, 1)
|
|
1109
|
+
if (foundFields.length > 0)
|
|
1110
|
+
return foundFields[0].value
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* @deprecated
|
|
1115
|
+
*/
|
|
1116
|
+
getQualityResult(imageQualityCheckType, securityFeature = -1, pageIndex = 0) {
|
|
1117
|
+
let resultSum = 2
|
|
1118
|
+
if (this.imageQuality == null) return resultSum
|
|
1119
|
+
|
|
1120
|
+
let imageQualityGroup
|
|
1121
|
+
|
|
1122
|
+
for (const iq of this.imageQuality)
|
|
1123
|
+
if (iq != null && iq.pageIndex === pageIndex)
|
|
1124
|
+
imageQualityGroup = iq
|
|
1125
|
+
if (imageQualityGroup == null)
|
|
1126
|
+
return resultSum
|
|
1127
|
+
|
|
1128
|
+
for (const field of imageQualityGroup.imageQualityList)
|
|
1129
|
+
if (field.type === imageQualityCheckType)
|
|
1130
|
+
if (securityFeature === -1) {
|
|
1131
|
+
if (field.result === 0) {
|
|
1132
|
+
resultSum = 0
|
|
1133
|
+
break
|
|
1134
|
+
}
|
|
1135
|
+
if (field.result === 1)
|
|
1136
|
+
resultSum = field.result
|
|
1137
|
+
} else if (field.featureType === securityFeature) {
|
|
1138
|
+
resultSum = field.result
|
|
1139
|
+
break
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
return resultSum
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* @deprecated
|
|
1147
|
+
*/
|
|
1148
|
+
findByTypeAndLcid(type, lcid) {
|
|
1149
|
+
let field
|
|
1150
|
+
const foundFields = []
|
|
1151
|
+
|
|
1152
|
+
for (field of this.textResult.fields)
|
|
1153
|
+
if (field.fieldType === type)
|
|
1154
|
+
foundFields.push(field)
|
|
1155
|
+
if (foundFields.length <= 0)
|
|
1156
|
+
return null
|
|
1157
|
+
|
|
1158
|
+
let foundField = null
|
|
1159
|
+
|
|
1160
|
+
for (field of foundFields)
|
|
1161
|
+
if (lcid === 0) {
|
|
1162
|
+
foundField = field
|
|
1163
|
+
if (field.lcid === lcid)
|
|
1164
|
+
break
|
|
1165
|
+
} else if (field.lcid === lcid)
|
|
1166
|
+
return field
|
|
1167
|
+
|
|
1168
|
+
return foundField
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* @deprecated
|
|
1173
|
+
*/
|
|
1174
|
+
findBySource(field, sourceType) {
|
|
1175
|
+
let value
|
|
1176
|
+
if (sourceType === -1) {
|
|
1177
|
+
const mrzVal = this.findBySource(field, 3)
|
|
1178
|
+
if (mrzVal != null)
|
|
1179
|
+
return mrzVal
|
|
1180
|
+
value = this.findBySource(field, 18)
|
|
1181
|
+
if (value != null)
|
|
1182
|
+
return value
|
|
1183
|
+
const visualVal = this.findBySource(field, 17)
|
|
1184
|
+
return visualVal != null ? visualVal : null
|
|
1185
|
+
}
|
|
1186
|
+
for (const item of field.values)
|
|
1187
|
+
if (item.sourceType === sourceType)
|
|
1188
|
+
return item
|
|
1189
|
+
|
|
1190
|
+
return null
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* @deprecated Use DocumentReader.containers()
|
|
1195
|
+
*/
|
|
1196
|
+
getContainers(resultTypes) {
|
|
1197
|
+
try {
|
|
1198
|
+
const json = JSON.parse(this.rawResult)
|
|
1199
|
+
const containerList = json.List
|
|
1200
|
+
const resultArray = []
|
|
1201
|
+
for (const container of containerList){
|
|
1202
|
+
if (container == null || container.length == 0)
|
|
1203
|
+
continue
|
|
1204
|
+
for (const resultType of resultTypes)
|
|
1205
|
+
if(resultType == container.result_type){
|
|
1206
|
+
resultArray.push(container)
|
|
1207
|
+
break
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
if (resultArray.length == 0)
|
|
1211
|
+
return null
|
|
1212
|
+
const newContainerList = {}
|
|
1213
|
+
newContainerList.List = resultArray
|
|
1214
|
+
const newJson = {}
|
|
1215
|
+
newJson.ContainerList = newContainerList
|
|
1216
|
+
newJson.TransactionInfo = json.TransactionInfo
|
|
1217
|
+
} catch (error) {
|
|
1218
|
+
return null
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* @deprecated DocumentReader.encryptedContainers()
|
|
1224
|
+
*/
|
|
1225
|
+
getEncryptedContainers() {
|
|
1226
|
+
return this.getContainers([
|
|
1227
|
+
eRPRM_ResultType.RPRM_RESULT_TYPE_INTERNAL_RFID_SESSION,
|
|
1228
|
+
eRPRM_ResultType.RPRM_RESULT_TYPE_INTERNAL_ENCRYPTED_RCL,
|
|
1229
|
+
eRPRM_ResultType.RPRM_RESULT_TYPE_INTERNAL_LICENSE
|
|
1230
|
+
])
|
|
1231
|
+
}
|
|
1058
1232
|
}
|
|
1059
1233
|
|
|
1060
1234
|
// Enum
|
|
@@ -1876,6 +2050,7 @@ const eRPRM_ResultType = {
|
|
|
1876
2050
|
RPRM_RESULT_TYPE_INTERNAL_RFID_SESSION: 48,
|
|
1877
2051
|
RPRM_RESULT_TYPE_INTERNAL_ENCRYPTED_RCL: 49,
|
|
1878
2052
|
RPRM_RESULT_TYPE_INTERNAL_LICENSE: 50,
|
|
2053
|
+
RPRM_RESULT_TYPE_TEXT: 36,
|
|
1879
2054
|
RPRM_RESULT_TYPE_IMAGES: 37,
|
|
1880
2055
|
RPRM_RESULT_TYPE_HOLO_PARAMS: 47,
|
|
1881
2056
|
RPRM_RESULT_TYPE_DOCUMENT_POSITION: 85,
|
|
@@ -1916,17 +2091,17 @@ const eRPRM_FieldVerificationResult = {
|
|
|
1916
2091
|
}
|
|
1917
2092
|
|
|
1918
2093
|
const DocReaderAction = {
|
|
1919
|
-
COMPLETE:
|
|
1920
|
-
PROCESS:
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
2094
|
+
COMPLETE: 0,
|
|
2095
|
+
PROCESS: 1,
|
|
2096
|
+
MORE_PAGES_AVAILABLE: 2,
|
|
2097
|
+
CANCEL: 3,
|
|
2098
|
+
ERROR: 4,
|
|
2099
|
+
PROCESS_WHITE_FLASHLIGHT: 5,
|
|
2100
|
+
TIMEOUT: 6,
|
|
2101
|
+
PROCESSING_ON_SERVICE: 7,
|
|
2102
|
+
NOTIFICATION: 101,
|
|
2103
|
+
PROCESS_WHITE_UV_IMAGES: 102,
|
|
2104
|
+
PROCESS_IR_FRAME: 103,
|
|
1930
2105
|
}
|
|
1931
2106
|
|
|
1932
2107
|
const eProcessGLCommands = {
|
|
@@ -2217,6 +2392,13 @@ const RFIDDelegate = {
|
|
|
2217
2392
|
FULL: 2,
|
|
2218
2393
|
}
|
|
2219
2394
|
|
|
2395
|
+
const TextProcessing = {
|
|
2396
|
+
ocNoChange: 0,
|
|
2397
|
+
ocUppercase: 1,
|
|
2398
|
+
ocLowercase: 2,
|
|
2399
|
+
ocCapital: 3,
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2220
2402
|
const ProcessingFinishedStatus = {
|
|
2221
2403
|
NOT_READY: 0,
|
|
2222
2404
|
READY: 1,
|
|
@@ -2916,6 +3098,31 @@ const eImageQualityCheckType = {
|
|
|
2916
3098
|
IQC_SCREEN_CAPTURE: 6,
|
|
2917
3099
|
IQC_PORTRAIT: 7,
|
|
2918
3100
|
IQC_HANDWRITTEN: 8,
|
|
3101
|
+
|
|
3102
|
+
getTranslation: function (value) {
|
|
3103
|
+
switch (value) {
|
|
3104
|
+
case this.IQC_IMAGE_GLARES:
|
|
3105
|
+
return "Glares"
|
|
3106
|
+
case this.IQC_IMAGE_FOCUS:
|
|
3107
|
+
return "Focus"
|
|
3108
|
+
case this.IQC_IMAGE_RESOLUTION:
|
|
3109
|
+
return "Resolution"
|
|
3110
|
+
case this.IQC_IMAGE_COLORNESS:
|
|
3111
|
+
return "Color"
|
|
3112
|
+
case this.IQC_PERSPECTIVE:
|
|
3113
|
+
return "Perspective angle"
|
|
3114
|
+
case this.IQC_BOUNDS:
|
|
3115
|
+
return "Bounds"
|
|
3116
|
+
case this.IQC_SCREEN_CAPTURE:
|
|
3117
|
+
return "Moire pattern"
|
|
3118
|
+
case this.IQC_PORTRAIT:
|
|
3119
|
+
return "Portrait"
|
|
3120
|
+
case this.IQC_HANDWRITTEN:
|
|
3121
|
+
return "Handwritten"
|
|
3122
|
+
default:
|
|
3123
|
+
return value
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
2919
3126
|
}
|
|
2920
3127
|
|
|
2921
3128
|
const MRZFormat = {
|
|
@@ -3324,6 +3531,10 @@ const eGraphicFieldType = {
|
|
|
3324
3531
|
}
|
|
3325
3532
|
}
|
|
3326
3533
|
|
|
3534
|
+
const RegDeviceConfigType = {
|
|
3535
|
+
DEVICE_7310: 1,
|
|
3536
|
+
}
|
|
3537
|
+
|
|
3327
3538
|
const CameraMode = {
|
|
3328
3539
|
AUTO: 0,
|
|
3329
3540
|
CAMERA1: 1,
|
|
@@ -3470,7 +3681,7 @@ const eRFID_DataFile_Type = {
|
|
|
3470
3681
|
case this.DFT_PASSPORT_DG5:
|
|
3471
3682
|
return "Portrait(s) (DG5)"
|
|
3472
3683
|
case this.DFT_ID_DG5:
|
|
3473
|
-
return "
|
|
3684
|
+
return "Family name" + " (DG5)"
|
|
3474
3685
|
case this.DFT_DL_DG5:
|
|
3475
3686
|
return "Signature / usual mark image (DG5)"
|
|
3476
3687
|
case this.DFT_PASSPORT_DG6:
|
|
@@ -4202,6 +4413,12 @@ const eVisualFieldType = {
|
|
|
4202
4413
|
FT_THIRD_NAME: 648,
|
|
4203
4414
|
FT_FOURTH_NAME: 649,
|
|
4204
4415
|
FT_LAST_NAME: 650,
|
|
4416
|
+
FT_DLCLASSCODE_RM_FROM: 651,
|
|
4417
|
+
FT_DLCLASSCODE_RM_NOTES: 652,
|
|
4418
|
+
FT_DLCLASSCODE_RM_TO: 653,
|
|
4419
|
+
FT_DLCLASSCODE_PW_FROM: 654,
|
|
4420
|
+
FT_DLCLASSCODE_PW_NOTES: 655,
|
|
4421
|
+
FT_DLCLASSCODE_PW_TO: 656,
|
|
4205
4422
|
|
|
4206
4423
|
getTranslation: function (value) {
|
|
4207
4424
|
switch (value) {
|
|
@@ -4458,7 +4675,7 @@ const eVisualFieldType = {
|
|
|
4458
4675
|
case this.FT_JURISDICTION_RESTRICTION_CODE:
|
|
4459
4676
|
return "Jurisdiction restriction code"
|
|
4460
4677
|
case this.FT_FAMILY_NAME:
|
|
4461
|
-
return "
|
|
4678
|
+
return "Family name"
|
|
4462
4679
|
case this.FT_GIVEN_NAMES_RUS:
|
|
4463
4680
|
return "Given name (National)"
|
|
4464
4681
|
case this.FT_VISA_ID_RUS:
|
|
@@ -5405,6 +5622,18 @@ const eVisualFieldType = {
|
|
|
5405
5622
|
return "Fourth name"
|
|
5406
5623
|
case this.FT_LAST_NAME:
|
|
5407
5624
|
return "Last name"
|
|
5625
|
+
case this.FT_DLCLASSCODE_PW_FROM:
|
|
5626
|
+
return "DL class code PW valid from"
|
|
5627
|
+
case this.FT_DLCLASSCODE_PW_NOTES:
|
|
5628
|
+
return "DL class code PW notes"
|
|
5629
|
+
case this.FT_DLCLASSCODE_PW_TO:
|
|
5630
|
+
return "DL class code PW valid to"
|
|
5631
|
+
case this.FT_DLCLASSCODE_RM_FROM:
|
|
5632
|
+
return "DL class code RM valid from"
|
|
5633
|
+
case this.FT_DLCLASSCODE_RM_NOTES:
|
|
5634
|
+
return "DL class code RM notes"
|
|
5635
|
+
case this.FT_DLCLASSCODE_RM_TO:
|
|
5636
|
+
return "DL class code RM valid to"
|
|
5408
5637
|
default:
|
|
5409
5638
|
return value
|
|
5410
5639
|
}
|
|
@@ -6007,6 +6236,7 @@ const Enum = {
|
|
|
6007
6236
|
eSignManagementAction,
|
|
6008
6237
|
eCheckDiagnose,
|
|
6009
6238
|
RFIDDelegate,
|
|
6239
|
+
TextProcessing,
|
|
6010
6240
|
ProcessingFinishedStatus,
|
|
6011
6241
|
DocFormat,
|
|
6012
6242
|
eLDS_ParsingNotificationCodes,
|
|
@@ -6021,6 +6251,7 @@ const Enum = {
|
|
|
6021
6251
|
eRequestCommand,
|
|
6022
6252
|
ImageFormat,
|
|
6023
6253
|
eGraphicFieldType,
|
|
6254
|
+
RegDeviceConfigType,
|
|
6024
6255
|
CameraMode,
|
|
6025
6256
|
CaptureMode,
|
|
6026
6257
|
eCheckResult,
|
|
@@ -6109,23 +6340,23 @@ DocumentReader.showScannerWithCameraIDAndOpts = (cameraID, options, successCallb
|
|
|
6109
6340
|
DocumentReader.recognizeImageWithCameraMode = (image, mode, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeImageWithCameraMode", image, mode])
|
|
6110
6341
|
DocumentReader.recognizeImagesWithImageInputs = (images, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeImagesWithImageInputs", images])
|
|
6111
6342
|
|
|
6112
|
-
DocumentReader.
|
|
6113
|
-
DocumentReader.
|
|
6114
|
-
DocumentReader.
|
|
6115
|
-
DocumentReader.
|
|
6116
|
-
DocumentReader.
|
|
6117
|
-
DocumentReader.
|
|
6118
|
-
DocumentReader.
|
|
6119
|
-
DocumentReader.
|
|
6120
|
-
DocumentReader.
|
|
6121
|
-
DocumentReader.
|
|
6122
|
-
DocumentReader.
|
|
6123
|
-
DocumentReader.
|
|
6124
|
-
DocumentReader.
|
|
6125
|
-
DocumentReader.
|
|
6126
|
-
DocumentReader.
|
|
6127
|
-
DocumentReader.
|
|
6128
|
-
DocumentReader.
|
|
6343
|
+
DocumentReader.textFieldValueByType = (results, fieldType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByType", results.rawResult, fieldType])
|
|
6344
|
+
DocumentReader.textFieldValueByTypeLcid = (results, fieldType, lcid, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByTypeLcid", results.rawResult, fieldType, lcid])
|
|
6345
|
+
DocumentReader.textFieldValueByTypeSource = (results, fieldType, source, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByTypeSource", results.rawResult, fieldType, source])
|
|
6346
|
+
DocumentReader.textFieldValueByTypeLcidSource = (results, fieldType, lcid, source, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByTypeLcidSource", results.rawResult, fieldType, lcid, source])
|
|
6347
|
+
DocumentReader.textFieldValueByTypeSourceOriginal = (results, fieldType, source, original, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByTypeSourceOriginal", results.rawResult, fieldType, source, original])
|
|
6348
|
+
DocumentReader.textFieldValueByTypeLcidSourceOriginal = (results, fieldType, lcid, source, original, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByTypeLcidSourceOriginal", results.rawResult, fieldType, lcid, source, original])
|
|
6349
|
+
DocumentReader.textFieldByType = (results, fieldType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldByType", results.rawResult, fieldType])
|
|
6350
|
+
DocumentReader.textFieldByTypeLcid = (results, fieldType, lcid, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldByTypeLcid", results.rawResult, fieldType, lcid])
|
|
6351
|
+
DocumentReader.graphicFieldByTypeSource = (results, fieldType, source, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["graphicFieldByTypeSource", results.rawResult, fieldType, source])
|
|
6352
|
+
DocumentReader.graphicFieldByTypeSourcePageIndex = (results, fieldType, source, pageIndex, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["graphicFieldByTypeSourcePageIndex", results.rawResult, fieldType, source, pageIndex])
|
|
6353
|
+
DocumentReader.graphicFieldByTypeSourcePageIndexLight = (results, fieldType, source, pageIndex, light, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["graphicFieldByTypeSourcePageIndex", results.rawResult, fieldType, source, pageIndex, light])
|
|
6354
|
+
DocumentReader.graphicFieldImageByType = (results, fieldType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["graphicFieldImageByType", results.rawResult, fieldType])
|
|
6355
|
+
DocumentReader.graphicFieldImageByTypeSource = (results, fieldType, source, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["graphicFieldImageByTypeSource", results.rawResult, fieldType, source])
|
|
6356
|
+
DocumentReader.graphicFieldImageByTypeSourcePageIndex = (results, fieldType, source, pageIndex, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["graphicFieldImageByTypeSourcePageIndex", results.rawResult, fieldType, source, pageIndex])
|
|
6357
|
+
DocumentReader.graphicFieldImageByTypeSourcePageIndexLight = (results, fieldType, source, pageIndex, light, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["graphicFieldImageByTypeSourcePageIndexLight", results.rawResult, fieldType, source, pageIndex, light])
|
|
6358
|
+
DocumentReader.containers = (results, resultType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["containers", results.rawResult, resultType])
|
|
6359
|
+
DocumentReader.encryptedContainers = (results, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["encryptedContainers", results.rawResult])
|
|
6129
6360
|
|
|
6130
6361
|
DocumentReader.DocumentReaderResults = DocumentReaderResults
|
|
6131
6362
|
DocumentReader.Enum = Enum
|