Interface ServerVoiceChannelBuilderDelegate
-
- All Superinterfaces:
ServerChannelBuilderDelegate
public interface ServerVoiceChannelBuilderDelegate extends ServerChannelBuilderDelegate
This class is internally used by theServerVoiceChannelBuilderto create server voice channels. You usually don't want to interact with this object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<ServerVoiceChannel>create()Creates the server voice channel.voidsetBitrate(int bitrate)Sets the bitrate of the channel.voidsetCategory(ChannelCategory category)Sets the category of the channel.voidsetUserlimit(int userlimit)Sets the user limit of the channel.-
Methods inherited from interface org.javacord.api.entity.channel.internal.ServerChannelBuilderDelegate
addPermissionOverwrite, removePermissionOverwrite, setAuditLogReason, setName
-
-
-
-
Method Detail
-
setBitrate
void setBitrate(int bitrate)
Sets the bitrate of the channel.- Parameters:
bitrate- The bitrate of the channel.
-
setUserlimit
void setUserlimit(int userlimit)
Sets the user limit of the channel.- Parameters:
userlimit- The user limit of the channel.
-
setCategory
void setCategory(ChannelCategory category)
Sets the category of the channel.- Parameters:
category- The category of the channel.
-
create
CompletableFuture<ServerVoiceChannel> create()
Creates the server voice channel.- Returns:
- The created voice channel.
-
-