Interface ServerVoiceChannelBuilderDelegate
-
- All Superinterfaces:
RegularServerChannelBuilderDelegate
,ServerChannelBuilderDelegate
public interface ServerVoiceChannelBuilderDelegate extends RegularServerChannelBuilderDelegate
This class is internally used by theServerVoiceChannelBuilder
to 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 java.util.concurrent.CompletableFuture<ServerVoiceChannel>
create()
Creates the server voice channel.void
setBitrate(int bitrate)
Sets the bitrate of the channel.void
setCategory(ChannelCategory category)
Sets the category of the channel.void
setUserlimit(int userlimit)
Sets the user limit of the channel.-
Methods inherited from interface org.javacord.api.entity.channel.internal.RegularServerChannelBuilderDelegate
addPermissionOverwrite, removePermissionOverwrite, setRawPosition
-
Methods inherited from interface org.javacord.api.entity.channel.internal.ServerChannelBuilderDelegate
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
java.util.concurrent.CompletableFuture<ServerVoiceChannel> create()
Creates the server voice channel.- Returns:
- The created voice channel.
-
-