Package 

Class PDAAdViewManager


  • 
    public final class PDAAdViewManager
    
                        

    Unified manager class for PDA (Product Display Ad) advertisements. Handles the creation and configuration of both vertical and horizontal PDA ad views.

    This manager consolidates the functionality of both PDAAdVerticalViewManager and PDAAdHorizontalViewManager into a single, more maintainable class.

    • Method Summary

      Modifier and Type Method Description
      final View showAd(Context context, Map<String, Object> ad, PDAAdSettings adViewSettings) Shows a PDA ad view with the specified configuration.
      • Methods inherited from class java.lang.Object

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

      • PDAAdViewManager

        PDAAdViewManager(Config config)
    • Method Detail

      • showAd

         final View showAd(Context context, Map<String, Object> ad, PDAAdSettings adViewSettings)

        Shows a PDA ad view with the specified configuration. Creates either a vertical or horizontal PDA view based on the adType parameter.

        Parameters:
        context - Application context required for view creation
        ad - Map containing the parsed PDA ad data
        adViewSettings - PDAAdSettings with configuration