Package net.dv8tion.jda.api.managers
Interface DirectAudioController
public interface DirectAudioController
Direct access to internal gateway communication.
 
This should only be used if a
This should only be used if a
VoiceDispatchInterceptor has been provided.
 For normal operation use Guild.getAudioManager() instead.
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnect(AudioChannel channel) Requests a voice server endpoint for connecting to the voice gateway.voiddisconnect(Guild guild) Requests to terminate the connection to a voice channel.getJDA()The associated JDA instancevoidreconnect(AudioChannel channel) Requests to reconnect to the voice channel in the target guild.
- 
Method Details- 
getJDAThe associated JDA instance- Returns:
- The JDA instance
 
- 
connectRequests a voice server endpoint for connecting to the voice gateway.- Parameters:
- channel- The channel to connect to
- See Also:
 
- 
disconnectRequests to terminate the connection to a voice channel.- Parameters:
- guild- The guild we were connected to
- See Also:
 
- 
reconnectRequests to reconnect to the voice channel in the target guild.- Parameters:
- channel- The channel we were connected to
 
 
-