Package com.inmobi.media.ads.context
Class AdComponent
-
- All Implemented Interfaces:
-
com.inmobi.media.ads.context.IAdComponent,com.inmobi.media.ads.context.IAdManagerComponent
public final class AdComponent implements IAdComponent, IAdManagerComponent
Composite component that aggregates ad-specific context and manager capabilities.
This class combines AdContext with AdManagerComponent functionality to provide a comprehensive ad component that has access to both ad-specific data and general ad management capabilities. It uses delegation to inherit all manager component functionality while adding ad-specific context data.
The component serves as a central access point for all ad-related functionality, including configuration, logging, networking, and ad-specific metadata. It enables clean separation of concerns while providing convenient access to all necessary ad processing capabilities.
-
-
Field Summary
Fields Modifier and Type Field Description private final AdContextadContextprivate final Contextcontextprivate final InMobiLoggerloggerprivate final AdLifecycleDataadLifecycleDataprivate final CoroutineScopeadManagerScopeprivate final AdManagerTelemetryHelperadManagerTelemetryHelper
-
Constructor Summary
Constructors Constructor Description AdComponent(AdManagerComponent adManagerComponent, AdContext adContext)
-
Method Summary
Modifier and Type Method Description final AdContextgetAdContext()-
Methods inherited from class com.inmobi.media.ads.context.IAdManagerComponent
getAdLifecycleData, getAdManagerScope, getAdManagerTelemetryHelper, getContext, getLogger -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AdComponent
AdComponent(AdManagerComponent adManagerComponent, AdContext adContext)
- Parameters:
adManagerComponent- The AdManagerComponent providing core ad management functionalityadContext- The AdContext containing ad-specific configuration and metadata
-
-
Method Detail
-
getAdContext
final AdContext getAdContext()
-
-
-
-