Package org.javacord.api.listener.server
Interface VoiceStateUpdateListener
-
- All Superinterfaces:
ChannelCategoryAttachableListener,GloballyAttachableListener,ObjectAttachableListener,ServerChannelAttachableListener,ServerTextChannelAttachableListener,ServerVoiceChannelAttachableListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface VoiceStateUpdateListener extends ServerChannelAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to voice state updates for the current user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonVoiceStateUpdate(VoiceStateUpdateEvent event)This method is called every time a voice state update packet is received for the current user.
-
-
-
Method Detail
-
onVoiceStateUpdate
void onVoiceStateUpdate(VoiceStateUpdateEvent event)
This method is called every time a voice state update packet is received for the current user.- Parameters:
event- The event.
-
-