BlockingAdRenderer

Functions

Link copied to clipboard
open override fun render(ad: NimbusAd, context: Context): AdController
Link copied to clipboard
fun setCloseButtonDelay(delaySeconds: Int)

Sets the delay in seconds before a close button will show on a full screen ad

Link copied to clipboard

Sets the delay in seconds before a close button will show after an ad has completed

Link copied to clipboard

Set the Drawable for the dismiss button

Link copied to clipboard
fun setDismissOnComplete(dismissOnComplete: Boolean)

Set whether the Ad should dismiss upon receiving the COMPLETED event.

Link copied to clipboard

Set the orientation of the close button, can be Gravity.START or Gravity.END

Link copied to clipboard

Sets the drawable for the mute button

Link copied to clipboard
fun setStaticDismissTimeout(staticDismissTimeout: Int)

Set a timeout for when an ad unit should dismiss itself if its a static ad.