interface PlayerSgaiAPI {
    getActiveAd(): LinearAd;
    list(): HlsInterstitial[] | SgaiAd[];
    skip(): Promise<void>;
}

Methods

  • Returns the currently active SGAI ad, if any.

    Returns LinearAd

  • Skips the currently playing ad.

    Returns Promise<void>