Skip to content

Commit b3bf33a

Browse files
Merge pull request #20 from dynamsoft-docs/preview
update to internal commit 47dd83f2
2 parents ecb285d + f01d649 commit b3bf33a

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: default-layout
3+
title: CodeType - Dynamsoft Code Parser Android Enumerations
4+
description: The enumeration CodeType of Dynamsoft Code Parser Android edition describes the code type of the parsed result.
5+
keywords: Validation status
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
breadcrumbText: CodeType
10+
---
11+
12+
# Enumeration CodeType
13+
14+
`CodeType` describes the code type of the parsed result.
15+
16+
```java
17+
public @interface EnumCodeType {
18+
String CT_MRTD_TD1_ID = "MRTD_TD1_ID";
19+
String CT_MRTD_TD2_ID = "MRTD_TD2_ID";
20+
String CT_MRTD_TD2_VISA = "MRTD_TD2_VISA";
21+
String CT_MRTD_TD3_PASSPORT = "MRTD_TD3_PASSPORT";
22+
String CT_MRTD_TD3_VISA = "MRTD_TD3_VISA";
23+
String CT_MRTD_TD2_FRENCH_ID = "MRTD_TD2_FRENCH_ID";
24+
String CT_AAMVA_DL_ID = "AAMVA_DL_ID";
25+
String CT_AAMVA_DL_ID_WITH_MAG_STRIPE = "AAMVA_DL_ID_WITH_MAG_STRIPE";
26+
String CT_SOUTH_AFRICA_DL = "SOUTH_AFRICA_DL";
27+
String CT_AADHAAR = "AADHAAR";
28+
String CT_VIN = "VIN";
29+
String CT_GS1_AI = "GS1_AI";
30+
}
31+
```
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
layout: default-layout
3+
title: CodeType - Dynamsoft Code Parser Enumerations
4+
description: The enumeration CodeType of Dynamsoft Code Parser describes the code type of the parsed result.
5+
keywords: Validation status
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
breadcrumbText: CodeType
10+
---
11+
12+
# Enumeration CodeType
13+
14+
`CodeType` describes the code type of the parsed result.
15+
16+
<div class="sample-code-prefix template2"></div>
17+
>- Objective-C
18+
>- Swift
19+
>
20+
>
21+
```objc
22+
typedef NSString * DSCodeType NS_STRING_ENUM NS_SWIFT_NAME(CodeType);
23+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeMRTD_TD1_ID NS_SWIFT_NAME(MRTD_TD1_ID);
24+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeMRTD_TD2_ID NS_SWIFT_NAME(MRTD_TD2_ID);
25+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeMRTD_TD2_VISA NS_SWIFT_NAME(MRTD_TD2_VISA);
26+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeMRTD_TD3_PASSPORT NS_SWIFT_NAME(MRTD_TD3_PASSPORT);
27+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeMRTD_TD3_VISA NS_SWIFT_NAME(MRTD_TD3_VISA);
28+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeMRTD_TD2_FRENCH_ID NS_SWIFT_NAME(MRTD_TD2_FRENCH_ID);
29+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeAAMVA_DL_ID NS_SWIFT_NAME(AAMVA_DL_ID);
30+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeAAMVA_DL_ID_WITH_MAG_STRIPE NS_SWIFT_NAME(AAMVA_DL_ID_WITH_MAG_STRIPE);
31+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeSOUTH_AFRICA_DL NS_SWIFT_NAME(SOUTH_AFRICA_DL);
32+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeAADHAAR NS_SWIFT_NAME(AADHAAR);
33+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeVIN NS_SWIFT_NAME(VIN);
34+
FOUNDATION_EXPORT DSCodeType const _Nonnull DSCodeTypeGS1_AI NS_SWIFT_NAME(GS1_AI);
35+
```
36+
>
37+
```swift
38+
public enum CodeType: String {
39+
static let MRTD_TD1_ID = "MRTD_TD1_ID "
40+
static let MRTD_TD2_ID = "MRTD_TD2_ID"
41+
static let MRTD_TD2_VISA = "MRTD_TD2_VISA"
42+
static let MRTD_TD3_PASSPORT = "MRTD_TD3_PASSPORT"
43+
static let MRTD_TD3_VISA = "MRTD_TD3_VISA"
44+
static let MRTD_TD2_FRENCH_ID = "MRTD_TD2_FRENCH_ID"
45+
static let AAMVA_DL_ID = "AAMVA_DL_ID"
46+
static let AAMVA_DL_ID_WITH_MAG_STRIPE = "AAMVA_DL_ID_WITH_MAG_STRIPE"
47+
static let SOUTH_AFRICA_DL = "SOUTH_AFRICA_DL"
48+
static let AADHAAR = "AADHAAR"
49+
static let VIN = "VIN"
50+
static let GS1_AI = "GS1_AI"
51+
}
52+
```

0 commit comments

Comments
 (0)