zimporter-pixi - v1.0.80
    Preparing search index...

    Class ZCuePointsManager

    Index

    Constructors

    Methods

    • Registers a callback to be invoked whenever the named cue point is triggered. Multiple callbacks can be registered for the same cue point.

      Parameters

      • cuePoint: string

        The name of the cue point to listen for.

      • callback: Function

        The function to call when the cue point fires.

      Returns void

    • Removes a previously registered callback for the named cue point. If the callback is not found, the call is a no-op.

      Parameters

      • cuePoint: string

        The name of the cue point.

      • callback: Function

        The exact function reference that was passed to addCuePointListener.

      Returns void

    • Fires all callbacks registered for the named cue point, forwarding any extra arguments (e.g. the originating ZTimeline) to each one.

      Parameters

      • cuePoint: string

        The name of the cue point to trigger.

      • ...args: any[]

        Additional arguments forwarded to every registered callback.

      Returns void