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.AudioPlayer
audioPlayer()
Returns the audio player for this player.JsonObject
encodeState()
Encodes the state of this player for sending to clients.FilterChainConfiguration
filterConfig()
Returns the filter configuration for this player.FrameLossCounter
frameLossCounter()
Returns the frame loss counter of this player, which tracks how many frames were sent or lost over the past minute.java.lang.String
guildId()
Returns the guild id of this player.NodeState
node()
Returns the node that owns this player.java.lang.String
userId()
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.
-