Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • hideBanner(): Promise<void>
  • Hide the banner shown on screen.

    Returns Promise<void>

  • isAppOpenErrored(): boolean
  • Returns boolean

  • isAppOpenLoading(): boolean
  • Returns boolean

  • isAppOpenReady(): boolean
  • Returns boolean

  • isAppOpenShowing(): boolean
  • Returns boolean

  • isBannerConfigured(): boolean
  • Returns boolean

  • isBannerErrored(): boolean
  • Returns boolean

  • isBannerLoaded(): boolean
  • Returns boolean

  • isBannerShowing(): boolean
  • Returns boolean

  • isInterstitialErrored(): boolean
  • Returns boolean

  • isInterstitialLoading(): boolean
  • Returns boolean

  • isInterstitialReady(): boolean
  • Returns boolean

  • isInterstitialShowing(): boolean
  • Returns boolean

  • isRewardedInterstitialErrored(): boolean
  • Returns boolean

  • isRewardedInterstitialLoading(): boolean
  • Returns boolean

  • isRewardedInterstitialReady(): boolean
  • Returns boolean

  • isRewardedInterstitialShowing(): boolean
  • Returns boolean

  • isRewardedVideoErrored(): boolean
  • Returns boolean

  • isRewardedVideoLoading(): boolean
  • Returns boolean

  • isRewardedVideoReady(): boolean
  • Returns boolean

  • isRewardedVideoShowing(): boolean
  • Returns boolean

  • loadAppOpen(androidAdUnitId: any, iosAdUnitId: any, displayLandscape: any, displayWhenLoaded: any): Promise<void>
  • Load an AppOpen.

    Parameters

    • androidAdUnitId: any
    • iosAdUnitId: any
    • displayLandscape: any
    • displayWhenLoaded: any

    Returns Promise<void>

  • loadInterstitial(androidAdUnitId: any, iosAdUnitId: any, displayWhenLoaded: any): Promise<void>
  • Load an interstitial.

    Parameters

    • androidAdUnitId: any
    • iosAdUnitId: any
    • displayWhenLoaded: any

    Returns Promise<void>

  • loadRewardedInterstitial(androidAdUnitID: any, iosAdUnitID: any, displayWhenLoaded: any): Promise<void>
  • Load a rewarded interstitial.

    Parameters

    • androidAdUnitID: any
    • iosAdUnitID: any
    • displayWhenLoaded: any

    Returns Promise<void>

  • loadRewardedVideo(androidAdUnitID: any, iosAdUnitID: any, displayWhenLoaded: any): Promise<void>
  • Load a rewarded video.

    Parameters

    • androidAdUnitID: any
    • iosAdUnitID: any
    • displayWhenLoaded: any

    Returns Promise<void>

  • markRewardedInterstitialRewardAsClaimed(): void
  • Mark the reward of the interstitial as claimed.

    Returns void

  • markRewardedVideoRewardAsClaimed(): void
  • Mark the reward of the video as claimed.

    Returns void

  • setBannerAdSizeType(bannerAdSizeType: "BANNER" | "LARGE_BANNER" | "MEDIUM_RECTANGLE" | "FULL_BANNER" | "LEADERBOARD" | "SMART_BANNER"): void
  • Parameters

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

    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(androidAdUnitId: any, iosAdUnitId: any, atTop: any): Promise<void>
  • Set up a banner that can then be displayed by calling showBanner. If a banner is already set up, it will be hidden and replaced by the new one.

    Parameters

    • androidAdUnitId: any
    • iosAdUnitId: any
    • atTop: any

    Returns Promise<void>

  • showAppOpen(): Promise<void>
  • Show the loaded appOpen.

    Returns Promise<void>

  • showBanner(): Promise<void>
  • Display a banner that was set up with setupBanner (and setBannerAdSizeType).

    Returns Promise<void>

  • showInterstitial(): Promise<void>
  • Show the loaded interstitial.

    Returns Promise<void>

  • showRewardedInterstitial(): Promise<void>
  • Show the loaded reward interstitial.

    Returns Promise<void>

  • showRewardedVideo(): Promise<void>
  • Show the loaded reward video.

    Returns Promise<void>

  • wasRewardedInterstitialRewardReceived(markAsClaimed: any): boolean
  • Check if the reward of the rewarded interstitial was received.

    Parameters

    • markAsClaimed: any

    Returns boolean

  • wasRewardedVideoRewardReceived(markAsClaimed: any): boolean
  • Check if the reward of the rewarded video was received.

    Parameters

    • markAsClaimed: any

    Returns boolean

Generated using TypeDoc