Package dev.arbjerg.lavalink.api
Enum ISocketContext.State
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ISocketContext.State extends Enum<ISocketContext.State>
Possible states of a WebSocket connection.
-
-
Method Summary
Modifier and Type Method Description final ISocketContext.StatevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ISocketContext.State>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final ISocketContext.State valueOf(String value)
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.)
-
values
final Array<ISocketContext.State> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-