Class VmapLoader.OnVmapLoadedListener

com.yandex.mobile.ads.video

public abstract class VmapLoader.OnVmapLoadedListener

A class that defines the result of a request for VMAP.

Methods

abstract void onVmapFailedToLoad(@NonNull final VmapError error)

Called when a request for VMAP failed.

abstract void onVmapLoaded(@NonNull final Vmap vmap)

Called when the request resulted in successful VMAP loading.

Method Detail

onVmapFailedToLoad

public abstract void onVmapFailedToLoad (@NonNull final VmapError error)

Called when a request for VMAP failed.

Parameters:
error

Error. See the list of errors in VmapError.

onVmapLoaded

public abstract void onVmapLoaded (@NonNull final Vmap vmap)

Called when the request resulted in successful VMAP loading.

Parameters:
vmap

Successful request result (VMAP).