Interface ServerVoiceChannelMemberLeaveEvent
-
- All Superinterfaces:
ChannelEvent,Event,ServerChannelEvent,ServerEvent,ServerVoiceChannelEvent,UserEvent,VoiceChannelEvent
public interface ServerVoiceChannelMemberLeaveEvent extends ServerVoiceChannelEvent, UserEvent
A server voice channel member leave event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ServerVoiceChannel>getNewChannel()Gets the new channel of the event.booleanisMove()Gets whether this event is part of a move.-
Methods inherited from interface org.javacord.api.event.channel.server.ServerChannelEvent
getServer
-
Methods inherited from interface org.javacord.api.event.channel.server.voice.ServerVoiceChannelEvent
getChannel
-
-
-
-
Method Detail
-
getNewChannel
java.util.Optional<ServerVoiceChannel> getNewChannel()
Gets the new channel of the event.- Returns:
- The new channel of the event.
-
isMove
boolean isMove()
Gets whether this event is part of a move.- Returns:
- whether this event is part of a move.
-
-