Package net.dv8tion.jda.core.audio
Class ConnectionRequest
- java.lang.Object
-
- net.dv8tion.jda.core.audio.ConnectionRequest
-
public class ConnectionRequest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConnectionRequest(Guild guild)
ConnectionRequest(VoiceChannel channel, ConnectionStage stage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiceChannel
getChannel(JDA api)
long
getChannelId()
long
getGuildIdLong()
long
getNextAttemptEpoch()
ConnectionStage
getStage()
void
setChannel(VoiceChannel channel)
void
setNextAttemptEpoch(long epochMillis)
void
setStage(ConnectionStage stage)
-
-
-
Constructor Detail
-
ConnectionRequest
public ConnectionRequest(Guild guild)
-
ConnectionRequest
public ConnectionRequest(VoiceChannel channel, ConnectionStage stage)
-
-
Method Detail
-
setStage
public void setStage(ConnectionStage stage)
-
setChannel
public void setChannel(VoiceChannel channel)
-
setNextAttemptEpoch
public void setNextAttemptEpoch(long epochMillis)
-
getChannel
public VoiceChannel getChannel(JDA api)
-
getChannelId
public long getChannelId()
-
getStage
public ConnectionStage getStage()
-
getNextAttemptEpoch
public long getNextAttemptEpoch()
-
getGuildIdLong
public long getGuildIdLong()
-
-