Advanced Usage - Adding a callback when Ad has been loaded

View original article on our GitHub.

StartAppWrapper.loadAd() can get an implementation of AdEventListener as a parameter. In case you want to get a callback for the ad load, pass the object which implementsStartAppWrapper.AdEventListener as a parameter to the method. This object should implement the following methods:

public void onReceiveAd(){
public void onFailedToReceiveAd(){
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request