Interface RequestListener

com.yandex.mobile.ads.video

public interface RequestListener

All Known Subinterfaces:
RequestListener, RequestListener

The interface defines callback methods for tracking the results of BlocksInfoRequest and VideoAdRequest.

Methods

void onFailure(@NonNull final VideoAdError error)

Called when an error occurs.

void onSuccess(@NonNull final T result)

Called when a successful response is received.

Method Detail

onFailure

public void onFailure (@NonNull final VideoAdError error)

Called when an error occurs.

Parameters:
error

Error description.

onSuccess

public void onSuccess (@NonNull final T result)

Called when a successful response is received.

Parameters:
result

Response to the request.