Package com.yandex.mobile.ads.instream
Interface InstreamAdListener
-
@MainThread 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 Type Method Description void
onError(java.lang.String reason)
Notifies about error occured during instream ad playback.void
onInstreamAdCompleted()
Notifies about completion of instream ad playback.void
onInstreamAdPrepared()
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
-
-