Interface InstreamAdListener


  • public interface InstreamAdListener
    This interface is used to notify about events occuring during instream ad playback.
    • 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