Package com.foxinmy.weixin4j.type
Enum EventType
- java.lang.Object
-
- java.lang.Enum<EventType>
-
- com.foxinmy.weixin4j.type.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<EventType>
public enum EventType extends Enum<EventType>
事件类型- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description annual_renew
年审通知事件batch_job_result
异步任务完成事件click
菜单点击链接事件enter_agent
进入企业号应用事件kf_close_session
客服关闭会话事件kf_create_session
客服接入会话事件kf_switch_session
客服转接会话事件location
上报地理位置事件location_select
菜单发送地理位置事件masssendjobfinish
群发消息事件naming_verify_fail
名称认证失败事件naming_verify_success
名称认证成功事件pic_photo_or_album
菜单弹出发图事件pic_sysphoto
菜单弹出拍照事件pic_weixin
菜单弹出发图事件qualification_verify_fail
资质认证失败事件qualification_verify_success
资质认证成功事件scan
二维码扫描事件scancode_push
菜单扫描事件scancode_waitmsg
菜单扫描并调出等待界面事件subscribe
关注事件suite
第三方应用套件消息templatesendjobfinish
模板消息事件unsubscribe
取消关注事件verify_expired
认证过期失效通知view
菜单点击关键字事件
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
subscribe
public static final EventType subscribe
关注事件
-
unsubscribe
public static final EventType unsubscribe
取消关注事件
-
location
public static final EventType location
上报地理位置事件- See Also:
LocationEventMessage
-
view
public static final EventType view
菜单点击关键字事件- See Also:
MenuEventMessage
-
click
public static final EventType click
菜单点击链接事件- See Also:
MenuEventMessage
-
scancode_push
public static final EventType scancode_push
菜单扫描事件- See Also:
MenuScanEventMessage
-
scancode_waitmsg
public static final EventType scancode_waitmsg
菜单扫描并调出等待界面事件- See Also:
MenuScanEventMessage
-
pic_sysphoto
public static final EventType pic_sysphoto
菜单弹出拍照事件- See Also:
MenuPhotoEventMessage
-
pic_photo_or_album
public static final EventType pic_photo_or_album
菜单弹出发图事件- See Also:
MenuPhotoEventMessage
-
pic_weixin
public static final EventType pic_weixin
菜单弹出发图事件- See Also:
MenuPhotoEventMessage
-
location_select
public static final EventType location_select
菜单发送地理位置事件- See Also:
MenuLocationEventMessage
-
scan
public static final EventType scan
二维码扫描事件- See Also:
ScanEventMessage
-
masssendjobfinish
public static final EventType masssendjobfinish
群发消息事件- See Also:
MassEventMessage
-
templatesendjobfinish
public static final EventType templatesendjobfinish
模板消息事件- See Also:
TemplatesendjobfinishMessage
-
kf_create_session
public static final EventType kf_create_session
客服接入会话事件- See Also:
KfCreateEventMessage
-
kf_close_session
public static final EventType kf_close_session
客服关闭会话事件- See Also:
KfCloseEventMessage
-
kf_switch_session
public static final EventType kf_switch_session
客服转接会话事件- See Also:
KfSwitchEventMessage
-
qualification_verify_success
public static final EventType qualification_verify_success
资质认证成功事件
-
qualification_verify_fail
public static final EventType qualification_verify_fail
资质认证失败事件
-
naming_verify_success
public static final EventType naming_verify_success
名称认证成功事件
-
naming_verify_fail
public static final EventType naming_verify_fail
名称认证失败事件
-
annual_renew
public static final EventType annual_renew
年审通知事件
-
verify_expired
public static final EventType verify_expired
认证过期失效通知
-
batch_job_result
public static final EventType batch_job_result
异步任务完成事件- See Also:
BatchjobresultMessage
-
enter_agent
public static final EventType enter_agent
进入企业号应用事件- See Also:
EnterAgentEventMessage
-
suite
public static final EventType suite
第三方应用套件消息- See Also:
com.foxinmy.weixin4j.qy.suite.WeixinSuiteMessage
-
-
Method Detail
-
values
public static EventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventType c : EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-