Package com.yandex.mobile.ads.instream
Interface InstreamAdListener
-
@MainThread public interface InstreamAdListenerThis interface is used to notify about events occuring during instream ad playback.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
-
-