public static enum WSEvent.WSEventType extends java.lang.Enum<WSEvent.WSEventType>
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getValue() |
static WSEvent.WSEventType |
ofValue(java.lang.String value) |
static WSEvent.WSEventType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static WSEvent.WSEventType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final WSEvent.WSEventType EventGuildCreate
public static final WSEvent.WSEventType EventGuildUpdate
public static final WSEvent.WSEventType EventGuildDelete
public static final WSEvent.WSEventType EventChannelCreate
public static final WSEvent.WSEventType EventChannelUpdate
public static final WSEvent.WSEventType EventChannelDelete
public static final WSEvent.WSEventType EventGuildMemberAdd
public static final WSEvent.WSEventType EventGuildMemberUpdate
public static final WSEvent.WSEventType EventGuildMemberRemove
public static final WSEvent.WSEventType EventMessageCreate
public static final WSEvent.WSEventType EventAtMessageCreate
public static final WSEvent.WSEventType EventDirectMessageCreate
public static final WSEvent.WSEventType EventAudioStart
public static final WSEvent.WSEventType EventAudioFinish
public static final WSEvent.WSEventType EventAudioOnMic
public static final WSEvent.WSEventType EventAudioOffMic
public static final WSEvent.WSEventType TypeReady
public static final WSEvent.WSEventType TypeResumed
public static final WSEvent.WSEventType TypeHello
public static final WSEvent.WSEventType TypeHeartbeatAck
public static final WSEvent.WSEventType TypeInvalidSession
public static WSEvent.WSEventType[] values()
for (WSEvent.WSEventType c : WSEvent.WSEventType.values()) System.out.println(c);
public static WSEvent.WSEventType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public java.lang.String getValue()
public static WSEvent.WSEventType ofValue(java.lang.String value)
Copyright © 2021. All rights reserved.