Class ServerVoiceChannelEventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- org.javacord.core.event.server.ServerEventImpl
-
- org.javacord.core.event.channel.server.voice.ServerVoiceChannelEventImpl
-
- All Implemented Interfaces:
ChannelEvent
,ServerVoiceChannelEvent
,VoiceChannelEvent
,Event
,ServerEvent
- Direct Known Subclasses:
ServerStageVoiceChannelChangeTopicEventImpl
,ServerVoiceChannelChangeBitrateEventImpl
,ServerVoiceChannelChangeUserLimitEventImpl
,ServerVoiceChannelMemberEventImpl
,VoiceStateUpdateEventImpl
public abstract class ServerVoiceChannelEventImpl extends ServerEventImpl implements ServerVoiceChannelEvent
The implementation ofServerVoiceChannelEvent
.
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerVoiceChannel
channel
The channel of the event.
-
Constructor Summary
Constructors Constructor Description ServerVoiceChannelEventImpl(ServerVoiceChannel channel)
Creates a new voice channel event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerVoiceChannel
getChannel()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
Methods inherited from class org.javacord.core.event.server.ServerEventImpl
getServer
-
-
-
-
Field Detail
-
channel
protected final ServerVoiceChannel channel
The channel of the event.
-
-
Constructor Detail
-
ServerVoiceChannelEventImpl
public ServerVoiceChannelEventImpl(ServerVoiceChannel channel)
Creates a new voice channel event.- Parameters:
channel
- The channel of the event.
-
-
Method Detail
-
getChannel
public ServerVoiceChannel getChannel()
- Specified by:
getChannel
in interfaceChannelEvent
- Specified by:
getChannel
in interfaceServerVoiceChannelEvent
- Specified by:
getChannel
in interfaceVoiceChannelEvent
-
-