com.foxinmy.weixin4j.type
Enum EventType

java.lang.Object
  extended by java.lang.Enum<EventType>
      extended by 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)
See Also:

Enum Constant Summary
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
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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2014–2017. All rights reserved.