The Contents of NendInterstitialModule - fan-ADN/nendSDK-cocos2d-x GitHub Wiki

Method

Start Loading Interstitial Ad

static void createNADInterstitial(char* apiKey, char* spotID);
set the apiKey and spotID which are published on nend dashboard.

NendInterstitialModule::createNADInterstitial("apiKey published on the dashboard", "spotID published on the dashboard");

Display Interstitial Ads

static void showNADInterstitialView();
Display Interstitial Ads

NendInterstitialModule::showNADInterstitialView();

Display Interstitial Ads (select spotID) static void showNADInterstitialView(char* spotID);
Display Interstitial Ads to the selected spotID

NendInterstitialModule::showNADInterstitialView("spotID published on the dashboard");

Hide Interstitial Ad

static void dismissNADInterstitialView();
Hide Interstitial Ad

NendInterstitialModule::dismissNADInterstitialView();

Set the Auto Reload after Closing Ad

static void setEnableAutoReload(bool isEnable);
Set the Auto Reload after Closing Ad (optional)
default: true

NendInterstitialModule::setEnableAutoReload(true);