Package net.dv8tion.jda.api.entities
Interface Widget.VoiceState
- Enclosing interface:
 Widget
public static interface Widget.VoiceState
Represents a 
Member's voice state- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionGets the channel the member is inGets theMemberto which this VoiceState belongsbooleanUsed to determine if the member is currently in a voice channel.booleanWhether the member is deafened, either by an admin or self-deafenedbooleanWhether the member is deafened by an adminbooleanWhether the member is muted by an adminbooleanisMuted()Whether the member is muted, either by an admin or self-mutedbooleanWhether the member is self-deafenedbooleanWhether the member is self-mutedbooleanWhether the member is suppressed 
- 
Method Details
- 
getChannel
Gets the channel the member is in- Returns:
 - never-null VoiceChannel
 
 - 
inVoiceChannel
boolean inVoiceChannel()Used to determine if the member is currently in a voice channel.
If this is false, getChannel() will return null- Returns:
 - True, if the member is in a voice channel
 
 - 
isGuildMuted
boolean isGuildMuted()Whether the member is muted by an admin- Returns:
 - True, if the member is muted
 
 - 
isGuildDeafened
boolean isGuildDeafened()Whether the member is deafened by an admin- Returns:
 - True, if the member is deafened
 
 - 
isSuppressed
boolean isSuppressed()Whether the member is suppressed- Returns:
 - True, if the member is suppressed
 
 - 
isSelfMuted
boolean isSelfMuted()Whether the member is self-muted- Returns:
 - True, if the member is self-muted
 
 - 
isSelfDeafened
boolean isSelfDeafened()Whether the member is self-deafened- Returns:
 - True, if the member is self-deafened
 
 - 
isMuted
boolean isMuted()Whether the member is muted, either by an admin or self-muted- Returns:
 - True, if the member is self-muted or guild-muted
 
 - 
isDeafened
boolean isDeafened()Whether the member is deafened, either by an admin or self-deafened- Returns:
 - True, if the member is self-deafened or guild-deafened
 
 - 
getMember
Gets theMemberto which this VoiceState belongs- Returns:
 - the member
 
 - 
getWidget
- Returns:
 - the widget
 
 
 -