setDuration method

void setDuration(
  1. num duration
)

Sets the presentation's duration. The presentation's duration in seconds. Infinity indicates that the presentation continues indefinitely.

Implementation

external void setDuration(num duration);