public OnVolumeListener extends EventListener
Event listener for class VolumeEvent
.
class VolumeEvent
Modifier and Type | Method and Description |
---|---|
void |
onVolume(VolumeEvent event)
Called when the player's volume level changes.
|
void onVolume(@NotNull VolumeEvent event)
Called when the player's volume level changes.
event
- The payload of the event.