Package com.yandex.mobile.ads.video
Class VmapLoader
- java.lang.Object
-
- com.yandex.mobile.ads.video.VmapLoader
-
public final class VmapLoader extends java.lang.ObjectClass containing controls for Vmap loading.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVmapLoader.OnVmapLoadedListenerClass that is implemented to determine when the Vmap loading has completed or failed.
-
Constructor Summary
Constructors Constructor Description VmapLoader(android.content.Context context)Constructs a newVmapLoader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelLoading()Cancel Vmap loading.voidloadVmap(android.content.Context context, VmapRequestConfiguration configuration)Start Vmap loading.voidsetOnVmapLoadedListener(VmapLoader.OnVmapLoadedListener listener)Sets anVmapLoader.OnVmapLoadedListener.
-
-
-
Constructor Detail
-
VmapLoader
public VmapLoader(@NonNull android.content.Context context)Constructs a newVmapLoader.- Parameters:
context- Interface to global information about an application environment.
-
-
Method Detail
-
cancelLoading
public void cancelLoading()
Cancel Vmap loading.
-
loadVmap
public void loadVmap(@NonNull android.content.Context context, @NonNull VmapRequestConfiguration configuration)Start Vmap loading.- Parameters:
context- The activity context. Interface to global information about an application environment.configuration- Loader configurationVmapRequestConfiguration.
-
setOnVmapLoadedListener
public void setOnVmapLoadedListener(@Nullable VmapLoader.OnVmapLoadedListener listener)Sets anVmapLoader.OnVmapLoadedListener.- Parameters:
listener- anVmapLoader.OnVmapLoadedListener. A listener to receive downloadedVmap
-
-