Serializable, Comparable<EventType>public enum EventType extends Enum<EventType>
| Enum Constant | Description |
|---|---|
CHANNEL_ARCHIVE |
|
CHANNEL_CREATED |
|
CHANNEL_DELETED |
|
CHANNEL_JOINED |
|
CHANNEL_LEFT |
|
CHANNEL_RENAME |
|
CHANNEL_UNARCHIVE |
|
GROUP_JOINED |
|
MESSAGE |
|
OTHER |
|
PIN_ADDED |
|
PIN_REMOVED |
|
PRESENCE_CHANGE |
|
REACTION_ADDED |
|
REACTION_REMOVED |
|
TEAM_JOIN |
|
USER_CHANGE |
|
USER_TYPING |
| Modifier and Type | Method | Description |
|---|---|---|
static EventType |
getByCode(String code) |
|
String |
getCode() |
|
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.
|
public static final EventType MESSAGE
public static final EventType CHANNEL_CREATED
public static final EventType CHANNEL_DELETED
public static final EventType CHANNEL_RENAME
public static final EventType CHANNEL_ARCHIVE
public static final EventType CHANNEL_UNARCHIVE
public static final EventType CHANNEL_JOINED
public static final EventType CHANNEL_LEFT
public static final EventType GROUP_JOINED
public static final EventType REACTION_ADDED
public static final EventType REACTION_REMOVED
public static final EventType USER_CHANGE
public static final EventType TEAM_JOIN
public static final EventType PRESENCE_CHANGE
public static final EventType PIN_ADDED
public static final EventType PIN_REMOVED
public static final EventType USER_TYPING
public static final EventType OTHER
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 nameNullPointerException - if the argument is nullpublic String getCode()
Copyright © 2018. All rights reserved.