react-native-theoplayer
Version:
A THEOplayer video component for react-native.
31 lines • 1.48 kB
TypeScript
import type { Ad, AdBreakInterstitial, Interstitial, InterstitialType, OverlayInterstitial, OverlayPosition, OverlaySize, TheoAdsLayout } from 'react-native-theoplayer';
declare abstract class NativeInterstitial implements Interstitial {
private node;
private _adTagParameters;
readonly id: string;
readonly type: InterstitialType;
readonly startTime: number;
readonly duration: number | undefined;
constructor(node: number, interstitial: Interstitial);
get adTagParameters(): Record<string, string>;
set adTagParameters(newAdTagParamters: Record<string, string>);
private createAdTagParametersProxy;
}
export declare class NativeAdBreakInterstitial extends NativeInterstitial implements AdBreakInterstitial {
type: "adbreak";
readonly layout: TheoAdsLayout;
readonly backdropUri: string | undefined;
readonly ads: readonly Ad[];
constructor(node: number, interstitial: AdBreakInterstitial);
}
export declare class NativeOverlayInterstitial extends NativeInterstitial implements OverlayInterstitial {
type: "overlay";
readonly imageUrl: string | undefined;
readonly clickThrough: string | undefined;
readonly position: OverlayPosition;
readonly size: OverlaySize;
constructor(node: number, interstitial: OverlayInterstitial);
}
export declare function createNativeInterstitial(node: number, interstitial: Interstitial): Interstitial;
export {};
//# sourceMappingURL=NativeInterstitialAdapter.d.ts.map