public enum MsgTypeEnum extends Enum<MsgTypeEnum>
| 枚举常量和说明 |
|---|
IMAGE |
INTERACTIVE |
POST |
TEXT |
public static final MsgTypeEnum TEXT
public static final MsgTypeEnum POST
public static final MsgTypeEnum IMAGE
public static final MsgTypeEnum INTERACTIVE
public static MsgTypeEnum[] values()
for (MsgTypeEnum c : MsgTypeEnum.values()) System.out.println(c);
public static MsgTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
Copyright © 2025. All rights reserved.