AdRendererEventHandler

The interface of object for processing events related to advertising and user interaction with it.

The renderer can delegate the execution of events related to tracking, the passing of messages to the application, or the unloading of advertising using object of this interface.

Functions

Link copied to clipboard
abstract suspend fun performTap(event: AdTapEvent): AdResult<Unit>

Processes advertisement taps.

Link copied to clipboard
abstract suspend fun performTrackingCustomEvent(name: String, url: String): AdResult<Unit>

Processes custom tracking events.

Link copied to clipboard
abstract fun sendMessage(name: String, message: String?)

Sends a message to the application.

Link copied to clipboard
abstract fun unloadRequest()

Sends a request to the app to remove or hide an Advertisement.