Amazon Vinyl
    Preparing search index...

    Class StitchedAdTracker

    Tracks the stitched (SSAI) ad breaks of the content as it plays through them, emitting the same ad events as interstitial breaks.

    A stitched break's ads are part of the content's media timeline, so nothing is loaded or switched: the break containing the playhead is the current break, and the ad containing the playhead is the current ad. Playing across an ad's end ends it; seeking out of an ad or break completes it as skipped. Seeking back into a break enters it again.

    Index
    • Updates the current break and ad from the playhead. Call on each time update while content (not an interstitial) is playing.

      Returns void

    • Skips the rest of the current break by seeking to its end. Returns false when no stitched break is active.

      Returns boolean