MediaViewLazyLoadingOptions

data class MediaViewLazyLoadingOptions(val loading: Placeholder = Placeholder.DEFAULT, val failure: Placeholder? = null)

Options for media view lazy loading configuration. This option only works for Native Normal ads with IMAGE media type. Otherwise, this option is ignored.

Constructors

Link copied to clipboard
constructor(loading: Placeholder = Placeholder.DEFAULT, failure: Placeholder? = null)

Properties

Link copied to clipboard
val failure: Placeholder? = null

The properties of placeholder displayed when the media view failed to load. If not set, the loading placeholder will be displayed.

Link copied to clipboard

The properties of placeholder displayed when the media view is loaded lazily.