Interface POBBannerEventListener

  • All Implemented Interfaces:
    com.pubmatic.sdk.openwrap.core.POBAdEventListener

    @MainThread() 
    public interface POBBannerEventListener
     implements POBAdEventListener
                        

    The banner custom event listener. It is used to inform the ad server SDK events back to OpenWrap SDK.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onOpenWrapPartnerWin(@Nullable() String bidId) Call this when the ad server SDK signals about partner bid win with bid id.
      abstract void onAdServerWin(@NonNull() View view) Call this when the ad server SDK renders its own ad
      abstract void onFailed(@NonNull() POBError error) Call this when the ad server SDK fails to load the ad
      abstract void onAdExecutionComplete() Call this when the ad execution is completed due to external ad events.
      • Methods inherited from class com.pubmatic.sdk.openwrap.core.POBAdEventListener

        getBidsProvider, onAdClick, onAdClosed, onAdImpression, onAdLeftApplication, onAdOpened
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onOpenWrapPartnerWin

         abstract void onOpenWrapPartnerWin(@Nullable() String bidId)

        Call this when the ad server SDK signals about partner bid win with bid id.

        Parameters:
        bidId - Winning partner bid id
      • onAdServerWin

         abstract void onAdServerWin(@NonNull() View view)

        Call this when the ad server SDK renders its own ad

        Parameters:
        view - view rendered ad from the ad server SDK
      • onFailed

         abstract void onFailed(@NonNull() POBError error)

        Call this when the ad server SDK fails to load the ad

        Parameters:
        error - detailed error object describing the cause of ad failure
      • onAdExecutionComplete

         abstract void onAdExecutionComplete()

        Call this when the ad execution is completed due to external ad events. Accordingly POBBannerEventListener user class can manage it's ad state.