Class NativeAdUnitComponent

  • All Implemented Interfaces:

    
    public final class NativeAdUnitComponent
    
                        

    Dependency injection component for native ad units. This component provides all the necessary dependencies for native ad unit operations, using a modular approach with lazy initialization for optimal performance.

    The component acts as a central hub for managing dependencies required throughout the native ad lifecycle, from loading to rendering and interaction handling.

    • Constructor Detail

      • NativeAdUnitComponent

        NativeAdUnitComponent(AdComponent adComponent, InMobiJsonResponse inMobiJsonResponse, NativeAdUnitCallback adUnitCallback)
        Parameters:
        adComponent - The main ad component providing core ad functionality.
        inMobiJsonResponse - The JSON response containing ad configuration and data.
        adUnitCallback - The callback interface for native ad unit events.
    • Method Detail

      • getVastClickModel

         final VastClickModel getVastClickModel()

        VAST click model for handling video ad clicks, if applicable. This is set when video content is processed and contains click-through URLs and tracking information for video interactions.

      • setVastClickModel

         final Unit setVastClickModel(VastClickModel vastClickModel)

        VAST click model for handling video ad clicks, if applicable. This is set when video content is processed and contains click-through URLs and tracking information for video interactions.

      • getNativeAdTelemetryHelper

         final <Error class: unknown class> getNativeAdTelemetryHelper()

        Native ad telemetry helper for tracking and analytics. Provides methods for submitting telemetry events related to native ad operations.

      • getMediaViewManager

         final <Error class: unknown class> getMediaViewManager()

        Manager for media view functionality including video and image handling. Responsible for loading and displaying media content within native ads.