Class VideoAdLoader.OnVideoAdLoadedListener

com.yandex.mobile.ads.video

public abstract class VideoAdLoader.OnVideoAdLoadedListener

A class that defines the result of a request for video ads.

Methods

abstract void onVideoAdFailedToLoad(@NonNull final VideoAdError error)

Called when a request for video ads failed.

abstract void onVideoAdLoaded(@NonNull final List< VideoAd > videoAds)

Called when the request resulted in successful video ad loading.

Method Detail

onVideoAdFailedToLoad

public abstract void onVideoAdFailedToLoad (@NonNull final VideoAdError error)

Called when a request for video ads failed.

Parameters:
error

Error. See the list of errors in VideoAdError.

onVideoAdLoaded

public abstract void onVideoAdLoaded (@NonNull final List< VideoAd > videoAds)

Called when the request resulted in successful video ad loading.

Parameters:
videoAds

Successful request result (VideoAd).