UNPKG

@azerion/bluestack-sdk-react-native

Version:

BlueStack provides functionalities for monetizing your mobile application: from premium sales with rich media, video and innovative formats, it facilitates inserting native mobile ads as well all standard display formats. BlueStack SDK is a library that a

24 lines (23 loc) 850 B
import type { BluestackPreference } from './Preference'; export declare const BluestackInterstitial: { /** * Load interstitial ad for a given placementId and shows it if autoDisplay is true * @param placementId — The placement Id of the ad * @param autoDisplay — Enable / Disable auto display * @param bsPreference — Preferences for the ad to display */ loadAd(placementId: string, autoDisplay?: boolean, bsPreference?: BluestackPreference): any; /** * Display an loaded interstitial ad */ displayAd(): Promise<number>; /** * Add interstitial ad event listener * @param listener — The listener function */ addEventListener(listener: (event: any) => void): void; /** * Remove all interstitial ad event listeners */ removeAllEventListeners(): void; };