Interface NativeAdImageListener

  • All Implemented Interfaces:

    @MainThread() 
    public interface NativeAdImageListener
    
                        

    Listener interface for receiving image loading events related to native ads.

    This interface provides callbacks for when an image has been successfully loaded or when the loading process fails.

    • 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 onImageLoaded(Integer color) Called when the image is loaded.
      abstract Unit onImageLoadFailed() Called when the image loading fails.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onImageLoaded

         abstract Unit onImageLoaded(Integer color)

        Called when the image is loaded.

        Parameters:
        color - The dominant image color, or null if it couldn't be determined.