Class GenericGuildVoiceEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.guild.GenericGuildEvent
-
- net.dv8tion.jda.api.events.guild.voice.GenericGuildVoiceEvent
-
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GuildVoiceDeafenEvent
,GuildVoiceGuildDeafenEvent
,GuildVoiceGuildMuteEvent
,GuildVoiceJoinEvent
,GuildVoiceLeaveEvent
,GuildVoiceMoveEvent
,GuildVoiceMuteEvent
,GuildVoiceSelfDeafenEvent
,GuildVoiceSelfMuteEvent
,GuildVoiceSuppressEvent
public abstract class GenericGuildVoiceEvent extends GenericGuildEvent
Indicates that aGuild
voice event is fired.
Every GuildVoiceEvent is an instance of this event and can be casted.Can be used to detect any GuildVoiceEvent.
-
-
Constructor Summary
Constructors Constructor Description GenericGuildVoiceEvent(JDA api, long responseNumber, Member member)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Member
getMember()
The affectedMember
GuildVoiceState
getVoiceState()
-
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Method Detail
-
getVoiceState
@Nonnull public GuildVoiceState getVoiceState()
- Returns:
- The
GuildVoiceState
of the member
-
-