MediaViewLazyLoadingListener

Listener interface for media view lazy loading events. Provides callbacks for lazy loading start, success, and failure events. This listener only works for Native Normal ads with IMAGE media type.

Functions

Link copied to clipboard
abstract fun onFailure(errorMessage: String)

Called when lazy loading of the media view fails. This callback is triggered when image loading fails.

Link copied to clipboard
abstract fun onStart()

Called when lazy loading of the media view starts. This callback is triggered when the placeholder is displayed and image loading begins.

Link copied to clipboard
abstract fun onSuccess()

Called when lazy loading of the media view succeeds. This callback is triggered when the image is successfully loaded and displayed.