TrackDetails

constructor(extensionId: String, track: Track, context: EchoMediaItem?, currentPosition: Long, totalDuration: Long?)

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.