UNPKG

ironsource-mediation

Version:

IronSource ad mediation React-Native plugin. Monetize apps with rewarded video, interstitial, banner, and native ads.

27 lines (26 loc) 935 B
import type { IronSourceError } from "../errors"; import type { IronSourceAdInfo } from "../IronSourceAdInfo"; import type { LevelPlayRewardedVideoBaseListener } from "./LevelPlayRewardedVideoBaseListener"; /** * Interface for handling LevelPlayRewardedVideo manual events * * @deprecated Use {@link LevelPlayRewardedAdListener} instead. */ export interface LevelPlayRewardedVideoManualListener extends LevelPlayRewardedVideoBaseListener { /** * Indicates that the Rewarded video ad was loaded successfully. * [adInfo] includes information about the loaded ad. * * Android: onAdReady * iOS: didLoadWithAdInfo */ onAdReady?: (adInfo: IronSourceAdInfo) => void; /** * Invoked when the rewarded video failed to load. * [error] includes information about the error. * * Android: onAdLoadFailed * iOS: didFailToLoadWithError */ onAdLoadFailed?: (error: IronSourceError) => void; }