com.yandex.mobile.ads.instream
Interface InstreamAdLoadListener
public interface InstreamAdLoadListener
Class that is implemented to determine when the Instream ads loading has completed or failed.
Method Summary
Modifier and Type | Method and Description |
---|---|
void | onInstreamAdFailedToLoad(java.lang.String reason)
Notifies that
InstreamAd failed to load. |
void | onInstreamAdLoaded(InstreamAd instreamAd)
Notifies that
InstreamAd was loaded. |
Method Detail
onInstreamAdLoaded
void onInstreamAdLoaded(@NonNull InstreamAd instreamAd)
Notifies that
InstreamAd
was loaded.- Parameters:
instreamAd
-InstreamAd
Result of successful response.
onInstreamAdFailedToLoad
void onInstreamAdFailedToLoad(@NonNull java.lang.String reason)
Notifies that
InstreamAd
failed to load.- Parameters:
reason
- Reason describing problem encountered while loadingInstreamAd
.