Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Interstitial

Hierarchy

  • Interstitial

Index

Constructors

constructor

Properties

interstitial

interstitial: Interstitial | undefined

Methods

checkAdStatus

  • en

    Get the ad status information of the current ad

    zh

    获取当前广告的广告状态信息

    Returns AdStatus | undefined

    Ad status

isAdReady

  • isAdReady(): boolean
  • en

    Check if the ad is ready

    zh

    检查广告是否准备就绪

    Returns boolean

    Is it ready

loadInterstitial

  • loadInterstitial(settings?: { UseRewardedVideoAsInterstitial: boolean }): void
  • en

    Load ad

    zh

    加载广告

    Parameters

    • Optional settings: { UseRewardedVideoAsInterstitial: boolean }

      Additional settings for ads

      • UseRewardedVideoAsInterstitial: boolean

    Returns void

setAdListener

  • en

    Set up ad listener

    zh

    设置广告监听器

    Parameters

    Returns void

showAd

  • showAd(scenario?: string): void
  • en

    Show ads

    zh

    显示广告

    Parameters

    • Optional scenario: string

      Advertising scene

    Returns void

Generated using TypeDoc