Enum Class VoiceConnectionStatus
- All Implemented Interfaces:
Serializable, Comparable<VoiceConnectionStatus>, Constable
Represents the status of a voice connection.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlready connected to a voice channel.Connected to a voice channel and ready.Connected but audio is not being sent/received.Currently connecting to a voice channel.Connection failed due to DAVE initialization error.Connection failed due to missing DAVE implementation.Not connected to any voice channel.Connection failed due to unknown error.Connection failed due to permissions. -
Method Summary
Modifier and TypeMethodDescriptionstatic VoiceConnectionStatusReturns the enum constant of this class with the specified name.static VoiceConnectionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISCONNECTED
Not connected to any voice channel. -
CONNECTING
Currently connecting to a voice channel. -
CONNECTED
Connected to a voice channel and ready. -
CONNECTED_NO_AUDIO
Connected but audio is not being sent/received. -
DAVE_REQUIRED
Connection failed due to missing DAVE implementation. -
DAVE_ERROR
Connection failed due to DAVE initialization error. -
NO_PERMISSION
Connection failed due to permissions. -
ALREADY_CONNECTED
Already connected to a voice channel. -
ERROR
Connection failed due to unknown error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-