duration

abstract val duration: Long

Same as ExoPlayer's duration. See Player.getDuration