Package org.javacord.api.listener.audio
Interface AudioSourceFinishedListener
-
- All Superinterfaces:
AudioConnectionAttachableListener,AudioSourceAttachableListener,GloballyAttachableListener,ObjectAttachableListener
- 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 AudioSourceFinishedListener extends AudioSourceAttachableListener, AudioConnectionAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to finished audio sources.It can be used to implement functionality like loops etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAudioSourceFinished(AudioSourceFinishedEvent event)This method is called every time an audio connection finishes and was removed from the audio connection.
-
-
-
Method Detail
-
onAudioSourceFinished
void onAudioSourceFinished(AudioSourceFinishedEvent event)
This method is called every time an audio connection finishes and was removed from the audio connection.- Parameters:
event- The event.
-
-