public enum WebSocketEventType extends Enum<WebSocketEventType> implements HasCode<WebSocketEventType>
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocketEventType.WebSocketEventTypeDeserializer |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static WebSocketEventType |
of(String code)
Get a WebSocketEventType constant for provided
code. |
static WebSocketEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketEventType Typing
public static final WebSocketEventType Posted
public static final WebSocketEventType PostEdited
public static final WebSocketEventType PostDeleted
public static final WebSocketEventType ChannelDeleted
public static final WebSocketEventType ChannelCreated
public static final WebSocketEventType DirectAdded
public static final WebSocketEventType GroupAdded
public static final WebSocketEventType NewUser
public static final WebSocketEventType AddedToTeam
public static final WebSocketEventType LeaveTeam
public static final WebSocketEventType UpdateTeam
public static final WebSocketEventType UserAdded
public static final WebSocketEventType UserUpdated
public static final WebSocketEventType UserRemoved
public static final WebSocketEventType PreferenceChanged
public static final WebSocketEventType PreferencesChanged
public static final WebSocketEventType PreferencesDeleted
public static final WebSocketEventType EphemeralMessage
public static final WebSocketEventType StatusChange
public static final WebSocketEventType Hello
public static final WebSocketEventType Webrtc
public static final WebSocketEventType ReactionAdded
public static final WebSocketEventType ReactionRemoved
public static final WebSocketEventType Response
public static WebSocketEventType[] values()
for (WebSocketEventType c : WebSocketEventType.values()) System.out.println(c);
public static WebSocketEventType 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()
getCode in interface HasCode<WebSocketEventType>public static WebSocketEventType of(String code)
code.Copyright © 2019. All rights reserved.