Class AdUnitTimeoutManager
-
- All Implemented Interfaces:
public abstract class AdUnitTimeoutManagerAn abstract base class for managing timeouts related to ad unit operations.
This class provides a foundational structure and common properties for handling various timeout scenarios during the ad lifecycle (e.g., ad fetching, loading). Subclasses are expected to implement specific timeout logic based on the provided context and configuration.
Lifecycle callback methods like onAdFetchStarted, onAdFetchSuccessful, etc., are provided as hooks for subclasses to react to different stages of the ad lifecycle, potentially starting, stopping, or adjusting timers.
-
-
Constructor Summary
Constructors Constructor Description AdUnitTimeoutManager(AdManagerComponent adManagerComponent)
-
Method Summary
Modifier and Type Method Description UnitonAdFetchStarted()UnitonAdFetchSuccessful()UnitonLoadResponseStarted()UnitonLoadingStarted()UnitonLoadSuccessful()Unitdestroy()-
-
Constructor Detail
-
AdUnitTimeoutManager
AdUnitTimeoutManager(AdManagerComponent adManagerComponent)
- Parameters:
adManagerComponent- The AdManagerComponent providing access to context and configuration necessary for timeout management.
-
-
Method Detail
-
onAdFetchStarted
Unit onAdFetchStarted()
-
onAdFetchSuccessful
Unit onAdFetchSuccessful()
-
onLoadResponseStarted
Unit onLoadResponseStarted()
-
onLoadingStarted
Unit onLoadingStarted()
-
onLoadSuccessful
Unit onLoadSuccessful()
-
-
-
-