|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MsgType>
com.belerweb.social.weixin.bean.MsgType
public enum MsgType
普通消息
| Enum Constant Summary | |
|---|---|
EVENT
事件 |
|
IMAGE
图片消息 |
|
LINK
链接消息 |
|
LOCATION
地理位置消息 |
|
MUSIC
音乐消息 |
|
NEWS
图文消息 |
|
TEMPLATE
模板消息 |
|
TEXT
文本消息 |
|
TRANSFER_CUSTOMER_SERVICE
多客服接入 |
|
VIDEO
视频消息 |
|
VOICE
语音消息 |
|
| Method Summary | |
|---|---|
static MsgType |
parse(Object val)
|
String |
toString()
|
String |
value()
|
static MsgType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MsgType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MsgType TEXT
public static final MsgType IMAGE
public static final MsgType VOICE
public static final MsgType VIDEO
public static final MsgType MUSIC
public static final MsgType LOCATION
public static final MsgType LINK
public static final MsgType EVENT
public static final MsgType NEWS
public static final MsgType TEMPLATE
public static final MsgType TRANSFER_CUSTOMER_SERVICE
| Method Detail |
|---|
public static MsgType[] values()
for (MsgType c : MsgType.values()) System.out.println(c);
public static MsgType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public String toString()
toString in class Enum<MsgType>public static MsgType parse(Object val)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||