Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • hideBanner(): void
  • isBannerErrored(): boolean
  • isBannerLoading(): boolean
  • isBannerShowing(): boolean
  • isInterstitialErrored(): boolean
  • isInterstitialLoading(): boolean
  • isInterstitialReady(): boolean
  • isInterstitialShowing(): boolean
  • isVideoErrored(): boolean
  • isVideoLoading(): boolean
  • isVideoReady(): boolean
  • isVideoShowing(): boolean
  • loadInterstitial(androidID: any, iosID: any, displayWhenLoaded: any): void
  • loadVideo(androidID: any, iosID: any, displayWhenLoaded: any): void
  • markVideoRewardAsClaimed(): void
  • setBannerAdSizeType(bannerAdSizeType: "BANNER" | "LARGE_BANNER" | "MEDIUM_RECTANGLE" | "FULL_BANNER" | "LEADERBOARD" | "SMART_BANNER"): void
  • Set the size of the banner to be shown when showBanner is called.

    Parameters

    • bannerAdSizeType: "BANNER" | "LARGE_BANNER" | "MEDIUM_RECTANGLE" | "FULL_BANNER" | "LEADERBOARD" | "SMART_BANNER"

      The type of the banner to displayed

    Returns void

  • setTestMode(enable: boolean): void
  • Activate or deactivate the test mode ("development" mode). When activated, tests ads will be served instead of real ones.

    It is important to enable test ads during development so that you can click on them without charging advertisers. If you click on too many ads without being in test mode, you risk your account being flagged for invalid activity.

    Parameters

    • enable: boolean

    Returns void

  • setupBanner(androidID: any, iosID: any, atTop: any): void
  • Set up a banner that can then be displayed by calling showBanner.

    Parameters

    • androidID: any
    • iosID: any
    • atTop: any

    Returns void

  • showBanner(): void
  • showInterstitial(): void
  • showVideo(): void
  • wasVideoRewardReceived(markAsClaimed: any): boolean

Generated using TypeDoc