Interface POBRewardedAdRendererListener

  • All Implemented Interfaces:

    @MainThread() 
    public interface POBRewardedAdRendererListener
    
                        

    POBRewardedAdRendererListener is an interface having the callback events which will be invoked on rendering event of video view.

    • 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 onAdInteractionStarted() Notifies about the ad interaction start.
      abstract void onAdInteractionStopped() Notifies about the ad interaction stop.
      abstract void onAdRender(@Nullable() POBAdDescriptor descriptor) Notifies the success event of the HTML view rendering
      abstract void onAdRenderingFailed(@NonNull() POBError error) Notifies the failure cause of the HTML view rendering
      abstract void onAdClicked() Notifies the click event on the rendered HTML view
      abstract void onLeavingApplication() Notifies the application leave event on the rendered HTML view
      abstract void onAdExpired() Notifies the expired event on the rendered HTML view
      abstract void onReceiveReward(@Nullable() POBCoreReward reward) Notifies reward has been received and reward should be offered to user.
      abstract void onAdImpression() Notifies ad impression
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onAdRender

         abstract void onAdRender(@Nullable() POBAdDescriptor descriptor)

        Notifies the success event of the HTML view rendering

        Parameters:
        descriptor - POBAdDescriptor object for Ad rendering
      • onAdRenderingFailed

         abstract void onAdRenderingFailed(@NonNull() POBError error)

        Notifies the failure cause of the HTML view rendering

        Parameters:
        error - Error object with failure cause
      • onAdClicked

         abstract void onAdClicked()

        Notifies the click event on the rendered HTML view

      • onLeavingApplication

         abstract void onLeavingApplication()

        Notifies the application leave event on the rendered HTML view

      • onAdExpired

         abstract void onAdExpired()

        Notifies the expired event on the rendered HTML view

      • onReceiveReward

         abstract void onReceiveReward(@Nullable() POBCoreReward reward)

        Notifies reward has been received and reward should be offered to user. Introduced in OpenWrap SDK v2.4.0 to notify reward received callback

        Note: If reward validation/handling is done at client side partner then only pass the valid/non-null rewards else pass null rewards and reward selection is handled by AdServer

        Parameters:
        reward - instance of POBCoreReward
      • onAdImpression

         abstract void onAdImpression()

        Notifies ad impression