Interface AUMDestroyListener

  • All Implemented Interfaces:

    
    public interface AUMDestroyListener
    
                        

    Listener interface for receiving ad unit manager destruction notifications.

    This interface provides a callback mechanism for handling ad unit manager (AUM) cleanup and resource deallocation. Unlike AUDestroyListener, this interface is designed for synchronous cleanup operations and provides a default no-operation implementation for optional cleanup scenarios.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onDestroy() Called when an ad unit manager is being destroyed and requires cleanup.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onDestroy

         Unit onDestroy()

        Called when an ad unit manager is being destroyed and requires cleanup.

        This method is invoked when the ad unit manager lifecycle is ending. The default implementation is a no-operation, allowing implementers to override only when specific cleanup is required. This method should be used for quick, synchronous cleanup operations such as setting flags, clearing references, or performing immediate resource release.