Interface AdEventListener
public interface AdEventListener
Callback for different methods of loading ads.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonFailedToReceiveAd(com.startapp.sdk.adsbase.Ad ad) Invoked in case of failure.voidonReceiveAd(com.startapp.sdk.adsbase.Ad ad) Invoked when the ad instance is received.
-
Method Details
-
onReceiveAd
void onReceiveAd(@NonNull com.startapp.sdk.adsbase.Ad ad) Invoked when the ad instance is received.- Parameters:
ad- not null
-
onFailedToReceiveAd
void onFailedToReceiveAd(@Nullable com.startapp.sdk.adsbase.Ad ad) Invoked in case of failure. If theadis notnull, then it may contain an error message.- Parameters:
ad- may be null- See Also:
-
Ad.getErrorMessage()
-