Rewarded Video class, provide the Rewarded Video related functionality, NOTE: you can get the adUnitId of a Rewarded Video object by rewardedVideo.adUnitId
Destroy Rewarded Video 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 Rewarded Video objects is small,
you can choose not to destroy explicitly
zh
注:该方法用于防止内存泄漏,并不能用于停止广告的显示,如果创建广告对象数量不多,可以选择不显式销毁
Returns void
entryAdScenario
entryAdScenario(sceneId: string): void
en
Specify the scenario of current Rewarded Video
zh
指定当前激励视频的场景
Parameters
sceneId: string
Returns void
loadAd
loadAd(): void
en
Load Reward Video, NOTE: this is only needed when you don't enable the autoReload mode
Rewarded Video class, provide the Rewarded Video related functionality, NOTE: you can get the adUnitId of a Rewarded Video object by rewardedVideo.adUnitId
激励视频类,提供激励视频相关的功能,注:您可以通过rewardedVideo.adUnitId获取一个激励视频对象的广告位ID