Track Details
data class TrackDetails(val extensionId: String, val track: Track, val context: EchoMediaItem?, val currentPosition: Long, val totalDuration: Long?)
A data class that holds the details of a track that is in the player.
Parameters
extension Id
the extension id of the extension that the track is from.
context
the context of the track.
track
the track itself.
current Position
the current position of the track in milliseconds.
total Duration
the total duration of the track in milliseconds, or null if unknown.
See also
Constructors
Link copied to clipboard
constructor(extensionId: String, track: Track, context: EchoMediaItem?, currentPosition: Long, totalDuration: Long?)