Package org.javacord.api.event.audio
Interface AudioSourceEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
AudioSourceFinishedEvent
public interface AudioSourceEvent extends Event
An audio source event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ServerVoiceChannelgetChannel()Gets the server voice channel of the event.AudioConnectiongetConnection()Gets the audio connection of the event.default ServergetServer()Gets the server of the event.AudioSourcegetSource()Gets the audio source of the event.
-
-
-
Method Detail
-
getSource
AudioSource getSource()
Gets the audio source of the event.- Returns:
- The audio source of the event.
-
getConnection
AudioConnection getConnection()
Gets the audio connection of the event.- Returns:
- The audio connection of the event.
-
getChannel
default ServerVoiceChannel getChannel()
Gets the server voice channel of the event.- Returns:
- The server voice channel of the event.
-
getServer
default Server getServer()
Gets the server of the event.- Returns:
- The server of the event.
-
-