Methods
getBanner
- getBanner(adUnitId: string): Banner
getInterstitial
- getInterstitial(adUnitId: string, autoReload: boolean): Interstitial
-
Parameters
-
adUnitId: string
-
autoReload: boolean
getRewardedVideo
- getRewardedVideo(adUnitId: string, autoReload: boolean): RewardedVideo
-
Parameters
-
adUnitId: string
-
autoReload: boolean
initPlacementCustomMap
- initPlacementCustomMap(adUnitId: string, customMap: CustomMap): void
setEnableLog
- setEnableLog(enable: boolean): void
setNeedTestDevice
- setNeedTestDevice(needTestDivice: boolean): void
Provide the Ad service of TradPlus, don't instantiate this class directly, use tradplus.tradPlusService instead
提供 TradPlus 广告服务的类,请不要实例化该类,直接使用tradplus.tradPlusService即可