Uses of Interface
org.javacord.api.entity.channel.ServerVoiceChannel
-
-
Uses of ServerVoiceChannel in org.javacord.api
Methods in org.javacord.api that return types with arguments of type ServerVoiceChannel Modifier and Type Method Description default Optional<ServerVoiceChannel>DiscordApi. getServerVoiceChannelById(long id)Gets a server voice channel by its id.default Optional<ServerVoiceChannel>DiscordApi. getServerVoiceChannelById(String id)Gets a server voice channel by its id.default Collection<ServerVoiceChannel>DiscordApi. getServerVoiceChannels()Gets a collection with all server voice channels of the bot.default Collection<ServerVoiceChannel>DiscordApi. getServerVoiceChannelsByName(String name)Gets a collection with all server voice channels with the given name.default Collection<ServerVoiceChannel>DiscordApi. getServerVoiceChannelsByNameIgnoreCase(String name)Gets a collection with all server voice channels with the given name. -
Uses of ServerVoiceChannel in org.javacord.api.entity.channel
Methods in org.javacord.api.entity.channel that return types with arguments of type ServerVoiceChannel Modifier and Type Method Description default Optional<ServerVoiceChannel>Channel. asServerVoiceChannel()Gets the channel as server voice channel.CompletableFuture<ServerVoiceChannel>ServerVoiceChannelBuilder. create()Creates the server voice channel.default Optional<ServerVoiceChannel>ServerVoiceChannel. getCurrentCachedInstance()default CompletableFuture<ServerVoiceChannel>ServerVoiceChannel. getLatestInstance()Constructors in org.javacord.api.entity.channel with parameters of type ServerVoiceChannel Constructor Description ServerVoiceChannelUpdater(ServerVoiceChannel channel)Creates a new server voice channel updater. -
Uses of ServerVoiceChannel in org.javacord.api.entity.channel.internal
Methods in org.javacord.api.entity.channel.internal that return types with arguments of type ServerVoiceChannel Modifier and Type Method Description CompletableFuture<ServerVoiceChannel>ServerVoiceChannelBuilderDelegate. create()Creates the server voice channel. -
Uses of ServerVoiceChannel in org.javacord.api.entity.server
Methods in org.javacord.api.entity.server that return types with arguments of type ServerVoiceChannel Modifier and Type Method Description Optional<ServerVoiceChannel>Server. getAfkChannel()Gets the afk channel of the server.default Optional<ServerVoiceChannel>Server. getConnectedVoiceChannel(long userId)Gets the voice channel the user with the given id is connected to on this server if any.default Optional<ServerVoiceChannel>Server. getConnectedVoiceChannel(User user)Gets the voice channel the given user is connected to on this server if any.default Optional<ServerVoiceChannel>Server. getVoiceChannelById(long id)Gets a voice channel by its id.default Optional<ServerVoiceChannel>Server. getVoiceChannelById(String id)Gets a voice channel by its id.List<ServerVoiceChannel>Server. getVoiceChannels()Gets a sorted list (by position) with all voice channels of the server.default List<ServerVoiceChannel>Server. getVoiceChannelsByName(String name)Gets a sorted list (by position) with all voice channels with the given name.default List<ServerVoiceChannel>Server. getVoiceChannelsByNameIgnoreCase(String name)Gets a sorted list (by position) with all voice channels with the given name.Methods in org.javacord.api.entity.server with parameters of type ServerVoiceChannel Modifier and Type Method Description default CompletableFuture<Void>Server. moveUser(User user, ServerVoiceChannel channel)Moves the given user to the given channel on the server.default CompletableFuture<Void>Server. moveYourself(ServerVoiceChannel channel)Moves yourself to the given channel on the server.ServerUpdaterServerUpdater. setAfkChannel(ServerVoiceChannel afkChannel)Queues the afk channel to be updated.ServerUpdaterServerUpdater. setVoiceChannel(User user, ServerVoiceChannel channel)Queues a moving a user to a different voice channel.default CompletableFuture<Void>Server. updateAfkChannel(ServerVoiceChannel afkChannel)Updates the afk channel of the server. -
Uses of ServerVoiceChannel in org.javacord.api.entity.server.internal
Methods in org.javacord.api.entity.server.internal with parameters of type ServerVoiceChannel Modifier and Type Method Description voidServerUpdaterDelegate. setAfkChannel(ServerVoiceChannel afkChannel)Queues the afk channel to be updated.voidServerUpdaterDelegate. setVoiceChannel(User user, ServerVoiceChannel channel)Queues a moving a user to a different voice channel. -
Uses of ServerVoiceChannel in org.javacord.api.entity.user
Methods in org.javacord.api.entity.user that return types with arguments of type ServerVoiceChannel Modifier and Type Method Description default Optional<ServerVoiceChannel>User. getConnectedVoiceChannel(Server server)Gets the voice channel this user is connected to on the given server if any.default Collection<ServerVoiceChannel>User. getConnectedVoiceChannels()Gets the server voice channels the user is connected to.Methods in org.javacord.api.entity.user with parameters of type ServerVoiceChannel Modifier and Type Method Description default booleanUser. isConnected(ServerVoiceChannel channel)Checks whether this user is connected to the given channel.default CompletableFuture<Void>User. move(ServerVoiceChannel channel)Moves this user to the given channel. -
Uses of ServerVoiceChannel in org.javacord.api.event.channel.server.voice
Methods in org.javacord.api.event.channel.server.voice that return ServerVoiceChannel Modifier and Type Method Description ServerVoiceChannelServerVoiceChannelEvent. getChannel()Methods in org.javacord.api.event.channel.server.voice that return types with arguments of type ServerVoiceChannel Modifier and Type Method Description Optional<ServerVoiceChannel>ServerVoiceChannelMemberLeaveEvent. getNewChannel()Gets the new channel of the event.Optional<ServerVoiceChannel>ServerVoiceChannelMemberJoinEvent. getOldChannel()Gets the old channel of the event. -
Uses of ServerVoiceChannel in org.javacord.api.event.server
Methods in org.javacord.api.event.server that return types with arguments of type ServerVoiceChannel Modifier and Type Method Description Optional<ServerVoiceChannel>ServerChangeAfkChannelEvent. getNewAfkChannel()Gets the new afk channel of the server.Optional<ServerVoiceChannel>ServerChangeAfkChannelEvent. getOldAfkChannel()Gets the old afk channel of the server. -
Uses of ServerVoiceChannel in org.javacord.api.util.internal
Methods in org.javacord.api.util.internal with parameters of type ServerVoiceChannel Modifier and Type Method Description static ServerVoiceChannelUpdaterDelegateDelegateFactory. createServerVoiceChannelUpdaterDelegate(ServerVoiceChannel channel)Creates a new server voice channel updater delegate.ServerVoiceChannelUpdaterDelegateDelegateFactoryDelegate. createServerVoiceChannelUpdaterDelegate(ServerVoiceChannel channel)Creates a new server voice channel updater delegate.
-