LavaplayerTrack

data class LavaplayerTrack(val version: Byte, val track: String, val title: String, val author: String, val length: Duration, val identifier: String, val isStream: Boolean, val isSeekable: Boolean, val uri: String?, val source: String, val position: Duration)

Representation of a Lavalink audio track.

Constructors

Link copied to clipboard
constructor(version: Byte, track: String, title: String, author: String, length: Duration, identifier: String, isStream: Boolean, isSeekable: Boolean, uri: String?, source: String, position: Duration)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the author of the track

Link copied to clipboard

the identifier for the track (e.g. youtube video id)

Link copied to clipboard

whether this track is seekable or not (opposite of isStream)

Link copied to clipboard

whether this track is a stream or not

Link copied to clipboard

the length of the track as a Duration (On Java please use TrackUtil instead)

Link copied to clipboard

the current position of the track (normally 0 or length) (See Player.position; On Java please use TrackUtil instead)

Link copied to clipboard

the Lavaplayer source of this track (e.g. youtube)

Link copied to clipboard

the title of the track

Link copied to clipboard

the base64 encoded string representing a Lavalink readable track

Link copied to clipboard
val uri: String?

the full url of the track (if it's not a local track)

Link copied to clipboard

version of track format (i guess no one actually knows what it is)