public enum RecvEventType extends Enum<RecvEventType>
| Enum Constant and Description |
|---|
LOCATION |
MENU_CLICK
点击菜单拉取消息时的事件推送
|
MENU_VIEW
点击菜单跳转链接时的事件推送
|
SCAN
1.
|
SUBSCRIBE |
TEMPLATE_SEND_JOB_FINISH
模版消息发送结果通知事件
|
UN_SUBSCRIBE |
UNKNOW |
| Modifier and Type | Method and Description |
|---|---|
static RecvEventType |
from(String type) |
String |
toString() |
String |
value() |
static RecvEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecvEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecvEventType UNKNOW
public static final RecvEventType SUBSCRIBE
public static final RecvEventType UN_SUBSCRIBE
public static final RecvEventType SCAN
public static final RecvEventType LOCATION
public static final RecvEventType MENU_CLICK
public static final RecvEventType MENU_VIEW
public static final RecvEventType TEMPLATE_SEND_JOB_FINISH
public static RecvEventType[] values()
for (RecvEventType c : RecvEventType.values()) System.out.println(c);
public static RecvEventType 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 value()
public static RecvEventType from(String type)
public String toString()
toString in class Enum<RecvEventType>Copyright © 2019. All rights reserved.