Package net.dv8tion.jda.core.entities
Interface VoiceChannel
-
- All Superinterfaces:
AudioChannel
,Channel
,java.lang.Comparable<VoiceChannel>
,ISnowflake
public interface VoiceChannel extends Channel, AudioChannel, java.lang.Comparable<VoiceChannel>
Represents a Discord Voice Channel. A specification ofAudioChannel
.
As a VoiceChannel has no extra functionality as itsChannel
parent, this interface is empty. This interface only exists to distinctChannels
into VoiceChannels andTextChannels
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBitrate()
The audio bitrate of the voice audio that is transmitted in this channel.int
getUserLimit()
The maximum amount ofMembers
that can be in thisVoiceChannel
at once.-
Methods inherited from interface net.dv8tion.jda.core.entities.Channel
createCopy, createCopy, createInvite, createPermissionOverride, createPermissionOverride, delete, getGuild, getInvites, getJDA, getManager, getMemberPermissionOverrides, getMembers, getName, getParent, getPermissionOverride, getPermissionOverride, getPermissionOverrides, getPosition, getPositionRaw, getRolePermissionOverrides, getType, putPermissionOverride, putPermissionOverride
-
Methods inherited from interface net.dv8tion.jda.core.entities.ISnowflake
getCreationTime, getId, getIdLong
-
-
-
-
Method Detail
-
getUserLimit
int getUserLimit()
- Returns:
- The maximum amount of members allowed in this channel at once.
-
getBitrate
int getBitrate()
The audio bitrate of the voice audio that is transmitted in this channel. While higher bitrates can be sent to this channel, it will be scaled down by the client.
Default and recommended value is 64000- Returns:
- The audio bitrate of this voice channel.
-
-