|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EventType>
com.belerweb.social.weixin.bean.EventType
public enum EventType
事件类型
| Enum Constant Summary | |
|---|---|
CLICK
自定义菜单事件 |
|
LOCATION
上报地理位置事件 |
|
SCAN
扫描二维码:用户已关注时的事件推送 |
|
SUBSCRIBE
订阅 |
|
UNSUBSCRIBE
取消订阅 |
|
| Method Summary | |
|---|---|
static EventType |
parse(Object val)
|
String |
toString()
|
String |
value()
|
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EventType[] |
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 EventType SUBSCRIBE
public static final EventType UNSUBSCRIBE
public static final EventType SCAN
public static final EventType LOCATION
public static final EventType CLICK
| Method Detail |
|---|
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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<EventType>public static EventType parse(Object val)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||