BlockingAdController

class BlockingAdController(val ad: NimbusAd, closeButtonDelayMillis: Int, closeDelayAfterComplete: Int = 0) : AdController

Constructors

Link copied to clipboard
constructor(ad: NimbusAd, closeButtonDelayMillis: Int, closeDelayAfterComplete: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
open override val duration: Float

Returns the duration of this Ad.

Link copied to clipboard
@get:JvmName(name = "friendlyObstructions")
val friendlyObstructions: MutableCollection<View>

Returns a list of friendly obstructions

Link copied to clipboard

A collection of AdController listener objects.

Link copied to clipboard
open override val view: View?

Returns the View that this AdController manages.

Link copied to clipboard
open override var volume: Int

The current volume of this AdController from 0 to 100.

Functions

Link copied to clipboard
open override fun destroy()

Destroys this AdController and associated resources.

Link copied to clipboard

This will disable all click protections on a Nimbus ad, use at your own risk

Link copied to clipboard

This is a convenience method for backwards compatibility with Java

Link copied to clipboard
open override fun start()

Start the ad playback.

Link copied to clipboard
open override fun stop()

Stop the ad playback.