An object that manages the playback of a tour.

Each TourPlayer may be associated with an underlying TourDocument, which defines the tour in question. It may be accessed using the get_tour method.

Hierarchy

  • TourPlayer

Implements

Constructors

Methods

  • Stop playing the current tour, if needed, and clear the current tour document.

    Returns void

  • Force the currently playing tour to advance to the next slide.

    Returns void

  • Toggle the playback state of the current tour, to or from paused.

    Returns void

  • Start or resume playing the current tour.

    TODO: clarify semantics about where we start from. Beginning of the current slide, I think?

    Returns void

  • Start playing the current tour from the beginning of the specified stop.

    Parameters

    Returns void

  • Set whether this player will leave slide Settings applied when it stops.

    Parameters

    • v: boolean

    Returns boolean

  • Stop playing the current tour.

    TODO: clarify how this differs from pauseTour.

    Parameters

    • ignored: boolean

    Returns void

Generated using TypeDoc