Package com.yandex.mobile.ads.instream
Class InstreamAdLoader
-
- All Implemented Interfaces:
@MainThread() public final class InstreamAdLoader extends PrivateInstreamAdLoader
This class can be used for loading instream ads
-
-
Constructor Summary
Constructors Constructor Description InstreamAdLoader(Context context)
-
Method Summary
Modifier and Type Method Description final Unit
loadInstreamAd(Context context, InstreamAdRequestConfiguration configuration)
Loads instream ad object. final Unit
setInstreamAdLoadListener(InstreamAdLoadListener listener)
Sets an InstreamAdLoadListener. -
-
Constructor Detail
-
InstreamAdLoader
InstreamAdLoader(Context context)
-
-
Method Detail
-
loadInstreamAd
final Unit loadInstreamAd(Context context, InstreamAdRequestConfiguration configuration)
Loads instream ad object. Loader's listener will be notified about loading result.
- Parameters:
context
- Activity contextconfiguration
- Request configuration
-
setInstreamAdLoadListener
final Unit setInstreamAdLoadListener(InstreamAdLoadListener listener)
Sets an InstreamAdLoadListener.
- Parameters:
listener
- an InstreamAdLoadListener.
-
-
-
-