Package net.dv8tion.jda.core.entities
Interface VoiceState
-
- All Known Subinterfaces:
CallVoiceState
,GuildVoiceState
public interface VoiceState
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AudioChannel
getAudioChannel()
The possibly-nullAudioChannel
for this VoiceStateJDA
getJDA()
Returns theJDA
instance of this VoiceStatejava.lang.String
getSessionId()
The Session-Id for this VoiceStateboolean
isSelfDeafened()
boolean
isSelfMuted()
-
-
-
Method Detail
-
isSelfMuted
boolean isSelfMuted()
- Returns:
- The User's self-mute status
-
isSelfDeafened
boolean isSelfDeafened()
- Returns:
- The User's self-deaf status
-
getJDA
JDA getJDA()
Returns theJDA
instance of this VoiceState- Returns:
- The corresponding JDA instance
-
getAudioChannel
AudioChannel getAudioChannel()
The possibly-nullAudioChannel
for this VoiceState- Returns:
- A possibly-null AudioChannel
-
getSessionId
java.lang.String getSessionId()
The Session-Id for this VoiceState- Returns:
- The Session-Id
-
-