public interface
com.appintop.interstitialads.InterstitialListener
Interface of the event listener display for Interstitial and Rewarded advertising
void | onFirstInterstitialLoad(String adType, String provider) | The event is triggered when the given type of advertising is loaded and becomes ready to show, once for the each type of advertising. |
void | onInterstitialStarted(String adType, String provider) | The event is triggered at the beginning of the showing Image, Video, or Rewarded advertising |
void | onInterstitialClicked(String adType, String provider) | The event is triggered when clicked on Image advertising or when clicked on the banner that appears at the end of Video advertising |
void | onInterstitialClosed(String adType, String provider) | The event is triggered when the advertising is closed by the user |
void | onRewardedCompleted(String adProvider, String currencyName, String currencyValue) | The event is triggered when the full view of Rewarded advertising is successfully completed |
boolean | onInterstitialFailedToShow(String adType) | The event is triggered when it is not able to show ads |
void onFirstInterstitialLoad(String adType, String provider)
The event is triggered when the given type of advertising is loaded and becomes ready to show, once for the each type of advertising.
adType | Advertising type (constants AdToApp.INTERSTITIAL, AdToApp.IMAGE, AdToApp.VIDEO, AdToApp.REWARDED, AdToApp.NATIVE, AdToApp.BANNER) |
provider | Advertising provider string name |
onInterstitialStarted(String adType, String provider)
The event is triggered at the beginning of the showing Image, Video, or Rewarded advertising
adType | Advertising type (constants AdToApp.INTERSTITIAL, AdToApp.IMAGE, AdToApp.VIDEO, AdToApp.REWARDED, AdToApp.NATIVE, AdToApp.BANNER) |
provider | Advertising provider string name |
onInterstitialClicked(String adType, String provider)
The event is triggered when clicked on Image advertising or when clicked on the banner that appears at the end of Video advertising
adType | Advertising type(константы AdToApp.INTERSTITIAL, AdToApp.IMAGE, AdToApp.VIDEO, AdToApp.REWARDED, AdToApp.NATIVE, AdToApp.BANNER) |
provider | Advertising provider string name |
onInterstitialClosed(String adType, String provider)
The event is triggered when the advertising is closed by the user
adType | Advertising type (константы AdToApp.INTERSTITIAL, AdToApp.IMAGE, AdToApp.VIDEO, AdToApp.REWARDED, AdToApp.NATIVE, AdToApp.BANNER) |
provider | Advertising provider string name |
onRewardedCompleted(String adProvider, String currencyName, String currencyValue)
The event is triggered when the full Rewarded advertising view is successfully completed
adProvider | Advertising provider string name |
currencyName | The string name of the currency specified in the adtoapp.com account |
currencyValue | The amount of reward specified in the adtoapp.com account |
onInterstitialFailedToShow(String adType)
The event is triggered when it is not able to show ads
adType | Advertising type (константы AdToApp.INTERSTITIAL, AdToApp.IMAGE, AdToApp.VIDEO, AdToApp.REWARDED, AdToApp.NATIVE, AdToApp.BANNER) |
Return true to force try to show ad (it is not guaranteed to appear ad) or false to nothing