AdRenderer
interface AdRenderer
Base interface for the custom renderer.
You can create custom presentation to display advertisements. To do so, your presentation object must confirm to this interface. After, you can register your custom renderer type to display advertisements via AdService.registerRenderer.
Functions
Link copied to clipboard
abstract suspend fun configure(rendererEventHandler: AdRendererEventHandler, adMetadata: AdMetadata, adResponseBundle: AdResponseBundle): AdResult<Unit>
The method receives new data from the ad server to prepare and configure the AdRenderer.