UNPKG

react-native-appodeal

Version:

React Native Module created to support Appodeal SDK for iOS and Android platforms

55 lines (54 loc) 2.69 kB
"use strict"; /** * Appodeal SDK Event Constants * * This file contains all event names used by the Appodeal SDK for ad lifecycle events. * Events are organized by ad type for better code organization and type safety. */ /** * General Appodeal SDK events */ export let AppodealSdkEvents; (function (_AppodealSdkEvents) { const INITIALIZED = _AppodealSdkEvents.INITIALIZED = 'onAppodealInitialized'; const AD_REVENUE = _AppodealSdkEvents.AD_REVENUE = 'onAppodealDidReceiveRevenue'; })(AppodealSdkEvents || (AppodealSdkEvents = {})); /** * Banner ad events */ export let AppodealBannerEvents; (function (_AppodealBannerEvents) { const LOADED = _AppodealBannerEvents.LOADED = 'onBannerLoaded'; const FAILED_TO_LOAD = _AppodealBannerEvents.FAILED_TO_LOAD = 'onBannerFailedToLoad'; const EXPIRED = _AppodealBannerEvents.EXPIRED = 'onBannerExpired'; const SHOWN = _AppodealBannerEvents.SHOWN = 'onBannerShown'; const CLICKED = _AppodealBannerEvents.CLICKED = 'onBannerClicked'; })(AppodealBannerEvents || (AppodealBannerEvents = {})); /** * Interstitial ad events */ export let AppodealInterstitialEvents; (function (_AppodealInterstitialEvents) { const LOADED = _AppodealInterstitialEvents.LOADED = 'onInterstitialLoaded'; const FAILED_TO_LOAD = _AppodealInterstitialEvents.FAILED_TO_LOAD = 'onInterstitialFailedToLoad'; const EXPIRED = _AppodealInterstitialEvents.EXPIRED = 'onInterstitialExpired'; const SHOWN = _AppodealInterstitialEvents.SHOWN = 'onInterstitialShown'; const FAILED_TO_SHOW = _AppodealInterstitialEvents.FAILED_TO_SHOW = 'onInterstitialFailedToShow'; const CLICKED = _AppodealInterstitialEvents.CLICKED = 'onInterstitialClicked'; const CLOSED = _AppodealInterstitialEvents.CLOSED = 'onInterstitialClosed'; })(AppodealInterstitialEvents || (AppodealInterstitialEvents = {})); /** * Rewarded video ad events */ export let AppodealRewardedEvents; (function (_AppodealRewardedEvents) { const LOADED = _AppodealRewardedEvents.LOADED = 'onRewardedVideoLoaded'; const FAILED_TO_LOAD = _AppodealRewardedEvents.FAILED_TO_LOAD = 'onRewardedVideoFailedToLoad'; const EXPIRED = _AppodealRewardedEvents.EXPIRED = 'onRewardedVideoExpired'; const SHOWN = _AppodealRewardedEvents.SHOWN = 'onRewardedVideoShown'; const FAILED_TO_SHOW = _AppodealRewardedEvents.FAILED_TO_SHOW = 'onRewardedVideoFailedToShow'; const CLOSED = _AppodealRewardedEvents.CLOSED = 'onRewardedVideoClosed'; const REWARD = _AppodealRewardedEvents.REWARD = 'onRewardedVideoFinished'; const CLICKED = _AppodealRewardedEvents.CLICKED = 'onRewardedVideoClicked'; })(AppodealRewardedEvents || (AppodealRewardedEvents = {})); //# sourceMappingURL=RNAppodealEvents.js.map