ANE-Burstly is a native extension for Burstly SDK on iOS and Android. Using this extension it’s possible to programmatically show or hide banners, as well as interstitials. An interstitial can also be displayed, using a cache mechanism to reduce the waiting time for the player.
The extension also fires a set of events that are useful to monitor the status of an operation, such as when a show operation of an interstitials fails due to network connectivity.
Sample
// Initialize Burstly Burstly.getInstance().init("MY_BURSTLY_APP_ID", "MY_BURSTLY_BANNER_ZONE_ID", "MY_BURSTLY_INTERSTITIAL_ZONE_ID"); // Show the banner Burstly.getInstance().showBanner(); // Hide the banner Burstly.getInstance().hideBanner(); // Check if an interstitial is pre-cached Burstly.getInstance().isInterstitialPreCached(); // Cache the interstitial Burstly.getInstance().cacheInterstitial(); // Show the interstitial Burstly.getInstance().showInterstitial();