You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: programming/android/api-reference/parsed-result-item.md
+16-4Lines changed: 16 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,19 @@ String getCodeType();
38
38
39
39
**ReturnValue**
40
40
41
-
Returns a string value representing the code type.
41
+
Returns a string value representing the code type. It can be one of the following:
42
+
43
+
- "AADHAAR"
44
+
- "AAMVA_DL_ID"
45
+
- "AAMVA_DL_ID_WITH_MAG_STRIPE"
46
+
- "MRTD_TD1_ID"
47
+
- "MRTD_TD2_ID"
48
+
- "MRTD_TD2_VISA"
49
+
- "MRTD_TD3_PASSPORT"
50
+
- "MRTD_TD3_VISA"
51
+
- "MRTD_TD2_FRENCH_ID"
52
+
- "SOUTH_AFRICA_DL"
53
+
- "VIN"
42
54
43
55
## getJsonString
44
56
@@ -70,7 +82,7 @@ Returns a string representing the specified field value.
70
82
71
83
## getFieldMappingStatus
72
84
73
-
Gets the mapping status of a specified field from the parsed result.
85
+
Gets the mapping status of a specified field from the parsed result.Certain fields in the parsed result, such as the residing province or state, are abbreviated (e.g. BC standing for BritishColumbia). The library takes such fields and maps them to their full form. If the mapping is successful, the `MappingStatus` will be `MS_SUCCEEDED`. To learn of the other options of `MappingStatus`, please refer to the link below.
@@ -90,7 +102,7 @@ Returns a [MappingStatus]({{ site.dcv_enumerations }}code-parser/mapping-status.
90
102
91
103
## getFieldValidationStatus
92
104
93
-
Gets the validation status of a specified field from the parsed result.
105
+
Gets the validation status of a specified field from the parsed result.Certain fields can be validated with one of four possible validation methods: certification, checksum, length, and regex. Whether a field is validated or not, as well as the validation method, is determined by the code specification e.g. AAMVA specification.
Returns a [ValidationStatus]({{ site.dcv_enumerations }}code-parser/validation-status.html?lang=android) enumeration value representing the validation status of a specified field.
117
+
Returns a [ValidationStatus]({{ site.dcv_enumerations }}code-parser/validation-status.html?lang=android) enumeration value saying whether the validation of a specified field was successful, failed, or if it did not require validation.
Copy file name to clipboardExpand all lines: programming/ios/api-reference/parsed-result-item.md
+16-4Lines changed: 16 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ class ParsedResultItem : CapturedResultItem
48
48
49
49
### getFieldMappingStatus
50
50
51
-
Gets the mapping status of a specified field from the parsed result.
51
+
Gets the mapping status of a specified field from the parsed result. Certain fields in the parsed result, such as the residing province or state, are abbreviated (e.g. BC standing for British Columbia). The library takes such fields and maps them to their full form. If the mapping is successful, the `MappingStatus` will be `DSMappingStatusSucceeded`. To learn of the other options of `MappingStatus`, please refer to the link below.
52
52
53
53
<div class="sample-code-prefix"></div>
54
54
>- Objective-C
@@ -73,7 +73,7 @@ Returns a [MappingStatus]({{ site.dcv_enumerations }}code-parser/mapping-status.
73
73
74
74
### getFieldValidationStatus
75
75
76
-
Gets the validation status of a specified field from the parsed result.
76
+
Gets the validation status of a specified field from the parsed result. Certain fields can be validated with one of four possible validation methods: certification, checksum, length, and regex. Whether a field is validated or not, as well as the validation method, is determined by the code specification e.g. AAMVA specification.
Returns a [ValidationStatus]({{ site.dcv_enumerations }}code-parser/validation-status.html?lang=objc,swift) enumeration value representing the validation status of a specified field.
97
+
Returns a [ValidationStatus]({{ site.dcv_enumerations }}code-parser/validation-status.html?lang=objc,swift) enumeration value saying whether the validation of a specified field was successful, failed, or if it did not require validation..
98
98
99
99
### getFieldValue
100
100
@@ -125,7 +125,19 @@ Returns a string representing the specified field value.
125
125
126
126
### codeType
127
127
128
-
Gets the code type of the parsed result.
128
+
Returns the code type of the parsed result. It can be one of the following:
0 commit comments