public enum MsgType extends Enum<MsgType>
| 枚举常量和说明 |
|---|
ACTION_CARD |
FEED_CARD |
LINK
链接
|
MARKDOWN |
TEXT
文本
|
public static final MsgType TEXT
public static final MsgType LINK
public static final MsgType MARKDOWN
public static final MsgType ACTION_CARD
public static final MsgType FEED_CARD
private String value
public static MsgType[] values()
for (MsgType c : MsgType.values()) System.out.println(c);
public static MsgType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022. All rights reserved.