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

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