duration

val duration: LiveData<Duration>

The duration of the current MediaPlaybackParameters.activeMediaItem. Duration.ZERO if there is no valid MediaPlaybackParameters.timeInfo set.