Package andesite.player
Interface BasePlayer
- All Known Subinterfaces:
AndesitePlayer,MixerPlayer
public interface BasePlayer
-
Method Summary
Modifier and Type Method Description com.sedmelluq.discord.lavaplayer.player.AudioPlayeraudioPlayer()Returns the audio player for this player.JsonObjectencodeState()Encodes the state of this player for sending to clients.FilterChainConfigurationfilterConfig()Returns the filter configuration for this player.FrameLossCounterframeLossCounter()Returns the frame loss counter of this player, which tracks how many frames were sent or lost over the past minute.java.lang.StringguildId()Returns the guild id of this player.NodeStatenode()Returns the node that owns this player.java.lang.StringuserId()Returns the user id of this player.
-
Method Details
-
node
Returns the node that owns this player.- Returns:
- The node that owns this player.
-
userId
Returns the user id of this player.- Returns:
- The user id for this player.
-
guildId
Returns the guild id of this player.- Returns:
- The guild id for this player.
-
frameLossCounter
Returns the frame loss counter of this player, which tracks how many frames were sent or lost over the past minute.- Returns:
- The frame loss counter of this player.
-
filterConfig
Returns the filter configuration for this player.- Returns:
- The filter configuration for this player.
-
audioPlayer
Returns the audio player for this player.- Returns:
- The audio player for this player.
-
encodeState
Encodes the state of this player for sending to clients.- Returns:
- A json object containing the state of this player.
-