UNPKG

@beletsky/react-native-yandex-ads

Version:
85 lines 3.75 kB
export let RewardedEventTypes; (function (RewardedEventTypes) { RewardedEventTypes["didReward"] = "onDidReward"; RewardedEventTypes["didLoad"] = "onDidLoad"; RewardedEventTypes["didFail"] = "onDidFail"; RewardedEventTypes["didClick"] = "onDidClick"; RewardedEventTypes["impressionTracked"] = "onImpressionTracked"; RewardedEventTypes["leaveApplication"] = "onWillLeaveApplication"; RewardedEventTypes["willAppear"] = "onWillAppear"; RewardedEventTypes["didAppear"] = "onDidAppear"; RewardedEventTypes["willDisappear"] = "onWillDisappear"; RewardedEventTypes["didDisappear"] = "onDidDisappear"; RewardedEventTypes["willPresent"] = "onWillPresent"; })(RewardedEventTypes || (RewardedEventTypes = {})); export let InterstitialEventTypes; (function (InterstitialEventTypes) { InterstitialEventTypes["didLoad"] = "onDidLoad"; InterstitialEventTypes["didFail"] = "onDidFail"; InterstitialEventTypes["didClick"] = "onDidClick"; InterstitialEventTypes["impressionTracked"] = "onImpressionTracked"; InterstitialEventTypes["leaveApplication"] = "onWillLeaveApplication"; InterstitialEventTypes["willAppear"] = "onWillAppear"; InterstitialEventTypes["didAppear"] = "onDidAppear"; InterstitialEventTypes["willDisappear"] = "onWillDisappear"; InterstitialEventTypes["didDisappear"] = "onDidDisappear"; InterstitialEventTypes["willPresent"] = "onWillPresent"; })(InterstitialEventTypes || (InterstitialEventTypes = {})); export let AdBannerType; (function (AdBannerType) { AdBannerType["BANNER_300x250"] = "BANNER_300x250"; AdBannerType["BANNER_320x250"] = "BANNER_320x250"; AdBannerType["BANNER_300x300"] = "BANNER_300x300"; AdBannerType["BANNER_320x50"] = "BANNER_320x50"; AdBannerType["BANNER_320x100"] = "BANNER_320x100"; AdBannerType["BANNER_400x240"] = "BANNER_400x240"; AdBannerType["BANNER_728x90"] = "BANNER_728x90"; })(AdBannerType || (AdBannerType = {})); var bannerHeight; (function (bannerHeight) { bannerHeight[bannerHeight["BANNER_300x250"] = 250] = "BANNER_300x250"; bannerHeight[bannerHeight["BANNER_320x250"] = 250] = "BANNER_320x250"; bannerHeight[bannerHeight["BANNER_300x300"] = 300] = "BANNER_300x300"; bannerHeight[bannerHeight["BANNER_320x50"] = 50] = "BANNER_320x50"; bannerHeight[bannerHeight["BANNER_320x100"] = 100] = "BANNER_320x100"; bannerHeight[bannerHeight["BANNER_400x240"] = 240] = "BANNER_400x240"; bannerHeight[bannerHeight["BANNER_728x90"] = 90] = "BANNER_728x90"; })(bannerHeight || (bannerHeight = {})); var bannerWidth; (function (bannerWidth) { bannerWidth[bannerWidth["BANNER_300x250"] = 300] = "BANNER_300x250"; bannerWidth[bannerWidth["BANNER_320x250"] = 320] = "BANNER_320x250"; bannerWidth[bannerWidth["BANNER_300x300"] = 300] = "BANNER_300x300"; bannerWidth[bannerWidth["BANNER_320x50"] = 320] = "BANNER_320x50"; bannerWidth[bannerWidth["BANNER_320x100"] = 320] = "BANNER_320x100"; bannerWidth[bannerWidth["BANNER_400x240"] = 400] = "BANNER_400x240"; bannerWidth[bannerWidth["BANNER_728x90"] = 728] = "BANNER_728x90"; })(bannerWidth || (bannerWidth = {})); const RES = { MODULES: { MAIN: 'YaAdsMobileModule', // only Android INTERSTITIAL: 'YaAdInterstitialModule', REWARDED: 'YaAdRewardedModule' }, VIEW_MANAGERS: { NATIVE: 'YaAdNativeViewManager', CONTAINER: 'YaAdContainerViewManager', // only Android MEDIA: 'YaAdMediaViewManager', // only Android IMAGE: 'YaAdImageViewManager', // only Android TEXT: 'YaAdTextViewManager', // only Android BANNER: 'YaAdBannerViewManager' }, RewardedEventTypes, bannerWidth, bannerHeight, AdBannerType, InterstitialEventTypes }; export * from './constants'; export default RES; //# sourceMappingURL=index.android.js.map