setDuration(duration) {
    goog.asserts.assert(duration > 0, 'duration must be > 0');
    this.duration_ = duration;
  }
Sets the presentation's duration.

@param {number} duration The presentation's duration in seconds.
  Infinity indicates that the presentation continues indefinitely.
@export