React Native THEOplayer SDK
    Preparing search index...

    Interface TheoAdsAPI

    The THEOads API.

    React Native THEOplayer SDK v8.17.0.

    interface TheoAdsAPI {
        currentInterstitials: Promise<readonly Interstitial[]>;
        scheduledInterstitials: Promise<readonly Interstitial[]>;
        replaceAdTagParameters(adTagParameters?: Record<string, string>): void;
    }
    Index
    currentInterstitials: Promise<readonly Interstitial[]>

    The currently playing interstitials.

    scheduledInterstitials: Promise<readonly Interstitial[]>

    List of interstitials which still need to be played.

    • Replaces all the ad tag parameters used for upcoming ad requests for a live stream.

      Parameters

      • OptionaladTagParameters: Record<string, string>

        The new ad tag parameters.

      Returns void


      - If set, this value overrides any parameters set on the TheoAdDescription.adTagParameters.