public enum TencentIdCardOcrWarn extends Enum<TencentIdCardOcrWarn>
| Enum Constant and Description |
|---|
BORDER_INCOMPLETE
边框不完整
|
COPY
为复印件
|
IN_FRAME_COVERED
框内部分被遮挡
|
INVALID_DATE
有效日期不合法
|
PS
为PS过的身份证
|
REFLECT
存在反光
|
RESHOOT
为翻拍照
|
TEMP
为临时身份证
|
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static TencentIdCardOcrWarn |
get(int warnCode)
根据告警码获取枚举
|
String |
msg() |
int |
type() |
static TencentIdCardOcrWarn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TencentIdCardOcrWarn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TencentIdCardOcrWarn INVALID_DATE
public static final TencentIdCardOcrWarn BORDER_INCOMPLETE
public static final TencentIdCardOcrWarn IN_FRAME_COVERED
public static final TencentIdCardOcrWarn REFLECT
public static final TencentIdCardOcrWarn COPY
public static final TencentIdCardOcrWarn RESHOOT
public static final TencentIdCardOcrWarn TEMP
public static final TencentIdCardOcrWarn PS
public static TencentIdCardOcrWarn[] values()
for (TencentIdCardOcrWarn c : TencentIdCardOcrWarn.values()) System.out.println(c);
public static TencentIdCardOcrWarn valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int code()
public String msg()
public int type()
@Nullable public static TencentIdCardOcrWarn get(int warnCode)
warnCode - 告警码Copyright © 2021–2022 EasyJ开源社区. All rights reserved.