Interstitial Ad class, provide the Interstitial Ad related functionality, NOTE: you can get the adUnitId of a Interstitial Ad object by interstitial.adUnitId
Destroy Interstitial Ad object, after destroyed, you cannot use this object again, you need to create a new object
zh
销毁插屏广告对象,销毁后不能再使用本对象,需要重新创建新的对象
en
NOTE:This method is only used to prevent memory leak, you cannot use it
to stop displaying Ad, if the number of Interstitial Ad objects is small,
you can choose not to destroy explicitly
zh
注:该方法用于防止内存泄漏,并不能用于停止广告的显示,如果创建广告对象数量不多,可以选择不显式销毁
Returns void
entryAdScenario
entryAdScenario(sceneId: string): void
en
Specify the scenario of current Interstitial Ad
zh
指定当前插屏广告的场景
Parameters
sceneId: string
Returns void
loadAd
loadAd(): void
en
Load Interstitial Ad, NOTE: this is only needed when you don't enable the autoReload mode
Interstitial Ad class, provide the Interstitial Ad related functionality, NOTE: you can get the adUnitId of a Interstitial Ad object by interstitial.adUnitId
插屏广告类,提供插屏广告相关的功能,注:您可以通过interstitial.adUnitId获取一个插屏广告对象的广告位ID