Package-level declarations
Contains the classes used to render an Ad from Nimbus.
Types
Link copied to clipboard
This interface is used to control an ad unit rendered by Nimbus.
Link copied to clipboard
Represents the current state of a Nimbus ad managed by an AdController
Link copied to clipboard
class BlockingAdController(val ad: NimbusAd, closeButtonDelayMillis: Int, closeDelayAfterComplete: Int = 0) : AdController
Link copied to clipboard
Link copied to clipboard
class CompanionAd
A companion ad model for use when making requests or rendering video ads
Link copied to clipboard
interface Interceptor
For internal use only
Link copied to clipboard
open class NimbusAdView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout, ViewTreeObserver.OnGlobalLayoutListener, ViewTreeObserver.OnScrollChangedListener
Link copied to clipboard
class NimbusAdViewDialog(context: Context, parentController: BlockingAdController) : Dialog, AdController.Listener, Renderer.Listener, View.OnLayoutChangeListener
Link copied to clipboard
Static ad implementation of Renderer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class VideoAdRenderer(val playerProvider: VideoAdRenderer.PlayerProvider = VastExoPlayerProvider, val requestMimeTypes: Array<String> = arrayOf(
MimeTypes.APPLICATION_M3U8,
MimeTypes.VIDEO_MP4,
MimeTypes.VIDEO_H263,
MimeTypes.VIDEO_H264,
MimeTypes.VIDEO_FLV,
)) : Renderer, Component
Properties
Functions
Link copied to clipboard
This will disable all click protections on a Nimbus ad, use at your own risk
Link copied to clipboard
fun ViewGroup.refreshingController(adManager: NimbusAdManager, request: NimbusRequest, refreshInterval: Int = 30, caller: NimbusAdManager.Listener): AdController