TrackDetails

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

extensionId

the extension id of the extension that the track is from.

context

the context of the track.

track

the track itself.

currentPosition

the current position of the track in milliseconds.

totalDuration

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?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard