public enum IdCardOcrWarn extends Enum<IdCardOcrWarn>
| Enum Constant and Description |
|---|
BORDER_INCOMPLETE
边框不完整
|
COPY
为复印件
|
FAKE
为假的身份证(不确定云服务是否支持)
|
IN_FRAME_COVERED
框内部分被遮挡
|
INVALID_DATE
有效日期不合法(未开始或已过期)
|
INVALID_ID
证件已失效
|
PS
为PS过的身份证
|
REFLECT
有反光
|
RESHOOT
为翻拍照
|
TEMP
为临时身份证
|
VAGUE
比较模糊
|
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static IdCardOcrWarn |
get(int warnCode)
根据告警码获取枚举
|
static IdCardOcrWarn |
get(String name)
根据枚举名获取枚举
|
String |
msg() |
int |
type()
获取告警类型
值域:1=已失效;2=不完整的;3=为副本;4=临时的;5=伪造的 |
static IdCardOcrWarn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdCardOcrWarn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdCardOcrWarn INVALID_DATE
public static final IdCardOcrWarn INVALID_ID
public static final IdCardOcrWarn BORDER_INCOMPLETE
public static final IdCardOcrWarn IN_FRAME_COVERED
public static final IdCardOcrWarn VAGUE
public static final IdCardOcrWarn REFLECT
public static final IdCardOcrWarn COPY
public static final IdCardOcrWarn RESHOOT
public static final IdCardOcrWarn TEMP
public static final IdCardOcrWarn PS
public static final IdCardOcrWarn FAKE
public static IdCardOcrWarn[] values()
for (IdCardOcrWarn c : IdCardOcrWarn.values()) System.out.println(c);
public static IdCardOcrWarn 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 IdCardOcrWarn get(int warnCode)
warnCode - 告警码@NonNull public static IdCardOcrWarn get(String name)
name - 枚举名Copyright © 2021–2022 EasyJ????. All rights reserved.