Class ServerVoiceChannelMemberEventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- org.javacord.core.event.server.ServerEventImpl
-
- org.javacord.core.event.channel.server.voice.ServerVoiceChannelEventImpl
-
- org.javacord.core.event.channel.server.voice.ServerVoiceChannelMemberEventImpl
-
- All Implemented Interfaces:
ChannelEvent
,ServerVoiceChannelEvent
,VoiceChannelEvent
,Event
,ServerEvent
- Direct Known Subclasses:
ServerVoiceChannelMemberJoinEventImpl
,ServerVoiceChannelMemberLeaveEventImpl
public abstract class ServerVoiceChannelMemberEventImpl extends ServerVoiceChannelEventImpl
The implementation ofServerVoiceChannelEventImpl
.
-
-
Constructor Summary
Constructors Constructor Description ServerVoiceChannelMemberEventImpl(Long userId, ServerVoiceChannel channel)
Creates a new voice channel member event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getUser()
Gets the user of the event.-
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
-
Methods inherited from class org.javacord.core.event.channel.server.voice.ServerVoiceChannelEventImpl
getChannel
-
-
-
-
Constructor Detail
-
ServerVoiceChannelMemberEventImpl
public ServerVoiceChannelMemberEventImpl(Long userId, ServerVoiceChannel channel)
Creates a new voice channel member event.- Parameters:
userId
- The id of the user of the event.channel
- The channel of the event.
-
-
Method Detail
-
getUser
public User getUser()
Gets the user of the event.- Returns:
- The user of the event.
-
-