Functions
parseCallbackInfo
- parseCallbackInfo(callbackInfo: string): AdInfo
Object literals
Const Banner
Banner: object
listenerMap
listener
Map: Map<string, BannerListener> = new Map<string, BannerListener>()
onBannerAdAutoRefreshFail
- onBannerAdAutoRefreshFail(placementId: string, errorInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
Returns void
onBannerAdAutoRefreshed
- onBannerAdAutoRefreshed(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onBannerAdClicked
- onBannerAdClicked(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onBannerAdClose
- onBannerAdClose(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onBannerAdCloseButtonTapped
- onBannerAdCloseButtonTapped(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onBannerAdFailed
- onBannerAdFailed(placementId: string, errorInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
Returns void
onBannerAdLoaded
- onBannerAdLoaded(placementId: string): void
onBannerAdShow
- onBannerAdShow(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onDeeplinkCallback
- onDeeplinkCallback(placementId: string, callbackInfo: string, isSuccess: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
-
isSuccess: string
Returns void
Const Interstitial
Interstitial: object
onDeeplinkCallback
- onDeeplinkCallback(placementId: string, callbackInfo: string, isSuccess: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
-
isSuccess: string
Returns void
onInterstitialAdClicked
- onInterstitialAdClicked(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onInterstitialAdClose
- onInterstitialAdClose(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onInterstitialAdFailedToShow
- onInterstitialAdFailedToShow(placementId: string, errorInfo: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
-
callbackInfo: string
Returns void
onInterstitialAdLoadFail
- onInterstitialAdLoadFail(placementId: string, errorInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
Returns void
onInterstitialAdLoaded
- onInterstitialAdLoaded(placementId: string): void
onInterstitialAdShow
- onInterstitialAdShow(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onInterstitialAdVideoEnd
- onInterstitialAdVideoEnd(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onInterstitialAdVideoError
- onInterstitialAdVideoError(placementId: string, errorInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
Returns void
onInterstitialAdVideoStart
- onInterstitialAdVideoStart(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
Const Native
Native: object
listenerMap
listener
Map: Map<string, NativeListener> = new Map<string, NativeListener>()
onDeeplinkCallback
- onDeeplinkCallback(placementId: string, callbackInfo: string, isSuccess: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
-
isSuccess: string
Returns void
onNativeAdClick
- onNativeAdClick(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onNativeAdCloseButtonClick
- onNativeAdCloseButtonClick(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onNativeAdLoadFail
- onNativeAdLoadFail(placementId: string, errorInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
Returns void
onNativeAdLoaded
- onNativeAdLoaded(placementId: string): void
onNativeAdShow
- onNativeAdShow(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onNativeAdVideoEnd
- onNativeAdVideoEnd(placementId: string): void
onNativeAdVideoProgress
- onNativeAdVideoProgress(placementId: string, progress: string): void
-
Parameters
-
placementId: string
-
progress: string
Returns void
onNativeAdVideoStart
- onNativeAdVideoStart(placementId: string): void
Const RewardVideo
RewardVideo: object
onDeeplinkCallback
- onDeeplinkCallback(placementId: string, callbackInfo: string, isSuccess: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
-
isSuccess: string
Returns void
onReward
- onReward(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onRewardedVideoAdClosed
- onRewardedVideoAdClosed(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onRewardedVideoAdFailed
- onRewardedVideoAdFailed(placementId: string, errorInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
Returns void
onRewardedVideoAdLoaded
- onRewardedVideoAdLoaded(placementId: string): void
onRewardedVideoAdPlayClicked
- onRewardedVideoAdPlayClicked(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onRewardedVideoAdPlayEnd
- onRewardedVideoAdPlayEnd(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
onRewardedVideoAdPlayFailed
- onRewardedVideoAdPlayFailed(placementId: string, errorInfo: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
errorInfo: string
-
callbackInfo: string
Returns void
onRewardedVideoAdPlayStart
- onRewardedVideoAdPlayStart(placementId: string, callbackInfo: string): void
-
Parameters
-
placementId: string
-
callbackInfo: string
Returns void
Const TopOn
TopOn: object
onUserLocation
- onUserLocation(status: 0 | 1 | 2): void