public class InstreamAdLoader
extends java.lang.Object
This class can be used for loading instream ads

Constructor Summary

Constructors
Constructor and Description
InstreamAdLoader(android.content.Context context) 

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
voidloadInstreamAd(android.content.Context context, InstreamAdRequestConfiguration configuration)
Loads instream ad object.
voidsetInstreamAdLoadListener(InstreamAdLoadListener listener)

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

InstreamAdLoader

public InstreamAdLoader(@NonNull
                        android.content.Context context)

Method Detail

loadInstreamAd

public void loadInstreamAd(@NonNull
                           android.content.Context context,
                           @NonNull
                           InstreamAdRequestConfiguration configuration)
Loads instream ad object. Loader's listener will be notified about loading result.
Parameters:
context - Activity context
configuration - Request configuration

setInstreamAdLoadListener

public void setInstreamAdLoadListener(@Nullable
                                      InstreamAdLoadListener listener)
Parameters:
listener - an InstreamAdLoadListener. A listener to receive downloaded InstreamAd