com.foxinmy.weixin4j.mp.component
Enum ComponentEventType

java.lang.Object
  extended by java.lang.Enum<ComponentEventType>
      extended by com.foxinmy.weixin4j.mp.component.ComponentEventType
All Implemented Interfaces:
Serializable, Comparable<ComponentEventType>

public enum ComponentEventType
extends Enum<ComponentEventType>

应用组件回调事件

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)

Enum Constant Summary
authorized
          授权成功
component_verify_ticket
          推送ticket
unauthorized
          取消授权
updateauthorized
          授权更新
 
Method Summary
static ComponentEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ComponentEventType[] 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

component_verify_ticket

public static final ComponentEventType component_verify_ticket
推送ticket


unauthorized

public static final ComponentEventType unauthorized
取消授权


authorized

public static final ComponentEventType authorized
授权成功


updateauthorized

public static final ComponentEventType updateauthorized
授权更新

Method Detail

values

public static ComponentEventType[] 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 (ComponentEventType c : ComponentEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ComponentEventType 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.