Class POBRenderer

  • All Implemented Interfaces:

    
    public class POBRenderer
    
                        

    Helper class to create renderer.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      POBRenderer()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static POBBannerRendering getBannerRenderer(@NonNull() Context context, int expiryTimeout) Method to get Renderer for Banner Ad
      static POBVideoRendering videoRenderer(@NonNull() Context context, @NonNull() POBAdDescriptor descriptor, @NonNull() String placement, int expiryTimeout, boolean isRewardedAd) Create Video renderer enabling skipability and exposure tracker based on placement type provided, max wrapper threshold time out is set to 3, linearity is set to linear along with it is registered to the video measurement provider.
      static POBInterstitialRenderer getInterstitialRenderer(@NonNull() Context context, @NonNull() POBBid bid) To get Renderer for Interstitial Ad
      • Methods inherited from class java.lang.Object

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

      • POBRenderer

        POBRenderer()
    • Method Detail

      • getBannerRenderer

        @NonNull() static POBBannerRendering getBannerRenderer(@NonNull() Context context, int expiryTimeout)

        Method to get Renderer for Banner Ad

        Parameters:
        context - provide activity context
        Returns:

        reference of POBBannerRendering

      • videoRenderer

        @NonNull() static POBVideoRendering videoRenderer(@NonNull() Context context, @NonNull() POBAdDescriptor descriptor, @NonNull() String placement, int expiryTimeout, boolean isRewardedAd)

        Create Video renderer enabling skipability and exposure tracker based on placement type provided, max wrapper threshold time out is set to 3, linearity is set to linear along with it is registered to the video measurement provider.

        Parameters:
        context - the context of activity type
        placement - the placement of type String
        Returns:

        instance of video renderer.