Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CocoonAds

Implements

Index

Constructors

constructor

Properties

adManager

adManager: H5AdWrapper

adsEnabled

adsEnabled: boolean = false

Private banner

banner: IBanner | null

Private bannerShowable

bannerShowable: boolean = false

Private cocoonProvider

cocoonProvider: IAdProvider

Private insentive

insentive: IBanner | null

Private insentiveShowable

insentiveShowable: boolean = false

Private interstitial

interstitial: IBanner | null

Private interstitialShowable

interstitialShowable: boolean = false

Methods

adAvailable

  • adAvailable(adType: AdType): boolean

destroyAd

  • destroyAd(adType: AdType): void

hideAd

  • hideAd(adType: AdType): void

preloadAd

  • preloadAd(adType: AdType, adId?: undefined | string, bannerPosition?: undefined | string): void
  • Parameters

    • adType: AdType
    • Optional adId: undefined | string
    • Optional bannerPosition: undefined | string

    Returns void

setManager

showAd

  • showAd(adType: AdType): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc