public static interface

SmaatoSdkVideo.LoadListener

com.smaato.soma.sdk.video.SmaatoSdkVideo.LoadListener

Class Overview

A listener to provide with loadAd(Context, String, String, SmaatoSdkVideo.LoadListener) request

Events are always delivered on main thread.

Summary

Public Methods
abstract void onAdFailedToLoad(VideoAdError videoAdError)
This method will be invoked when an advertisement request is failed.
abstract void onAdLoaded(Video video)
This method will be invoked on when an advertisement is successfully received.

Public Methods

public abstract void onAdFailedToLoad (VideoAdError videoAdError)

This method will be invoked when an advertisement request is failed.

Will be invoked on main thread only.

Parameters
videoAdError VideoAdError failed request data object that contains next ad request parameters: publisherId, adSpaceId, userInfocom.smaato.soma.sdk.core.ad.UserInfo and videoError VideoError

public abstract void onAdLoaded (Video video)

This method will be invoked on when an advertisement is successfully received.

Will be invoked on main thread only.

Video advertisement object to show interstitial video ad