AdStateInterface

The interface of the advertisement state.

Inheritors

Properties

Link copied to clipboard
abstract var jsonString: String
Link copied to clipboard
abstract var state: AdState.State

Functions

Link copied to clipboard
abstract suspend fun downloadImage(url: String): Result<Bitmap>
Link copied to clipboard
abstract fun triggerAdClick(url: String?)

Handling the action of an user tapping on an ad.

Link copied to clipboard
abstract fun triggerCustomEvent(name: String, info: String)

Signals that a custom event has occurred in the renderer.

Link copied to clipboard
abstract fun updateAdData(renderMetaData: MutableMap<String, Any>? = null, adData: MutableMap<String, String>? = null)

To update the adData or rendererMedaData from a renderer.