public enum WeiXinMessageMode extends Enum<WeiXinMessageMode>
Enum Constant and Description |
---|
IMAGE
图像消息
|
LINK
链接消息
|
LOCATION
地理位置消息
|
MP_NEWS
群发消息中的图文消息
|
MP_VIDEO
群发消息中的视频消息
|
MUSIC
音乐消息
|
NEWS
多图文消息
|
SHORT_VIDEO
小视频消息
|
TEXT
文本消息
|
VIDEO
视频消息
|
VOICE
语音消息
|
Modifier and Type | Method and Description |
---|---|
String |
getType() |
static WeiXinMessageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeiXinMessageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeiXinMessageMode TEXT
public static final WeiXinMessageMode IMAGE
public static final WeiXinMessageMode VOICE
public static final WeiXinMessageMode VIDEO
public static final WeiXinMessageMode SHORT_VIDEO
public static final WeiXinMessageMode LOCATION
public static final WeiXinMessageMode LINK
public static final WeiXinMessageMode MUSIC
public static final WeiXinMessageMode NEWS
public static final WeiXinMessageMode MP_NEWS
public static final WeiXinMessageMode MP_VIDEO
public static WeiXinMessageMode[] values()
for (WeiXinMessageMode c : WeiXinMessageMode.values()) System.out.println(c);
public static WeiXinMessageMode 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 String getType()
Copyright © 2006–2018 TinyGroup. All rights reserved.