Class GenericVoiceChannelEvent
- java.lang.Object
- 
- net.dv8tion.jda.api.events.Event
- 
- net.dv8tion.jda.api.events.channel.voice.GenericVoiceChannelEvent
 
 
- 
- All Implemented Interfaces:
- GenericEvent
 - Direct Known Subclasses:
- GenericVoiceChannelUpdateEvent,- VoiceChannelCreateEvent,- VoiceChannelDeleteEvent,- VoiceChannelUpdatePermissionsEvent
 
 public abstract class GenericVoiceChannelEvent extends Event Indicates that aVoiceChannelevent was fired.
 Every VoiceChannelEvent is derived from this event and can be casted.Can be used to detect any VoiceChannelEvent. 
- 
- 
Constructor SummaryConstructors Constructor Description GenericVoiceChannelEvent(JDA api, long responseNumber, VoiceChannel channel)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VoiceChannelgetChannel()TheVoiceChannelGuildgetGuild()- 
Methods inherited from class net.dv8tion.jda.api.events.EventgetJDA, getResponseNumber
 
- 
 
- 
- 
- 
Constructor Detail- 
GenericVoiceChannelEventpublic GenericVoiceChannelEvent(@Nonnull JDA api, long responseNumber, @Nonnull VoiceChannel channel)
 
- 
 - 
Method Detail- 
getChannel@Nonnull public VoiceChannel getChannel() TheVoiceChannel- Returns:
- The VoiceChannel
 
 - 
getGuild@Nonnull public Guild getGuild() - Returns:
- The Guild
 
 
- 
 
-