com.yandex.mobile.ads.instream

Interface InstreamAdListener

  1. Method Summary
  2. Method Detail
    1. onInstreamAdCompleted
    2. onInstreamAdPrepared
    3. onError


public interface InstreamAdListener
This interface is used to notify about events occuring during instream ad playback.

Method Summary

All Methods
Instance Methods
Abstract Methods
Modifier and TypeMethod and Description
voidonError(java.lang.String reason)
Notifies about error occured during instream ad playback.
voidonInstreamAdCompleted()
Notifies about completion of instream ad playback.
voidonInstreamAdPrepared()
Notifies that preroll (if it exists in ad) is prepared.

Method Detail

onInstreamAdCompleted

void onInstreamAdCompleted()
Notifies about completion of instream ad playback.

onInstreamAdPrepared

void onInstreamAdPrepared()
Notifies that preroll (if it exists in ad) is prepared. If no preroll exists, callback will be fired immediately after prepare() call.

onError

void onError(@NonNull
             java.lang.String reason)
Notifies about error occured during instream ad playback.
Parameters:
reason - Describes error