Interface FetchTimeoutListener

  • All Implemented Interfaces:

    
    public interface FetchTimeoutListener
    
                        

    Listener interface for receiving ad fetch timeout notifications.

    This interface provides a callback mechanism for handling scenarios where ad fetch operations exceed their allocated time limits. Implementers can use this event to perform cleanup, retry logic, or transition to failed states when fetch operations timeout.

    • 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
      abstract Unit onFetchTimeout() Called when an ad fetch operation has timed out.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onFetchTimeout

         abstract Unit onFetchTimeout()

        Called when an ad fetch operation has timed out.

        This method is invoked when the fetch operation exceeds the configured timeout duration, indicating that the server request has taken too long to complete or has failed to respond within the expected timeframe.