UNPKG

react-native-appodeal

Version:

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

71 lines 2.74 kB
/** * 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 declare namespace AppodealSdkEvents { /** Fired when the SDK is successfully initialized */ const INITIALIZED = "onAppodealInitialized"; /** Fired when ad revenue is received */ const AD_REVENUE = "onAppodealDidReceiveRevenue"; } /** * Banner ad events */ export declare namespace AppodealBannerEvents { /** Fired when banner ad is loaded successfully */ const LOADED = "onBannerLoaded"; /** Fired when banner ad fails to load */ const FAILED_TO_LOAD = "onBannerFailedToLoad"; /** Fired when banner ad expires */ const EXPIRED = "onBannerExpired"; /** Fired when banner ad is shown */ const SHOWN = "onBannerShown"; /** Fired when banner ad is clicked */ const CLICKED = "onBannerClicked"; } /** * Interstitial ad events */ export declare namespace AppodealInterstitialEvents { /** Fired when interstitial ad is loaded successfully */ const LOADED = "onInterstitialLoaded"; /** Fired when interstitial ad fails to load */ const FAILED_TO_LOAD = "onInterstitialFailedToLoad"; /** Fired when interstitial ad expires */ const EXPIRED = "onInterstitialExpired"; /** Fired when interstitial ad is shown */ const SHOWN = "onInterstitialShown"; /** Fired when interstitial ad fails to show */ const FAILED_TO_SHOW = "onInterstitialFailedToShow"; /** Fired when interstitial ad is clicked */ const CLICKED = "onInterstitialClicked"; /** Fired when interstitial ad is closed */ const CLOSED = "onInterstitialClosed"; } /** * Rewarded video ad events */ export declare namespace AppodealRewardedEvents { /** Fired when rewarded video ad is loaded successfully */ const LOADED = "onRewardedVideoLoaded"; /** Fired when rewarded video ad fails to load */ const FAILED_TO_LOAD = "onRewardedVideoFailedToLoad"; /** Fired when rewarded video ad expires */ const EXPIRED = "onRewardedVideoExpired"; /** Fired when rewarded video ad is shown */ const SHOWN = "onRewardedVideoShown"; /** Fired when rewarded video ad fails to show */ const FAILED_TO_SHOW = "onRewardedVideoFailedToShow"; /** Fired when rewarded video ad is closed */ const CLOSED = "onRewardedVideoClosed"; /** Fired when user completes rewarded video and receives reward */ const REWARD = "onRewardedVideoFinished"; /** Fired when rewarded video ad is clicked */ const CLICKED = "onRewardedVideoClicked"; } //# sourceMappingURL=RNAppodealEvents.d.ts.map