CsOpenmediationAd class

Constructors

CsOpenmediationAd()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

init(String appKey, bool logEnable) Future<void>
初始话SDK
interstitialIsReady() Future<bool?>
插页广告是否准备好了
interstitialIsSceneCapped(String sceneName) Future<void>
展示插页广告
loadSplashAd(String placementId) Future<void>
获取开屏广告
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPause() Future<void>
onResume() Future<void>
rewardVideoIsReady() Future<bool?>
激励视频是否准备好了
setExtId(String sceneName, String extId) Future<void>
设置ExtId
setInitializationSuccessListener(InitializationSuccess initializationSuccess) → void
SDK初始化成功
setInitilizationFailedListener(InitializationFailed initializationFailed) → void
SDK初始化失败
setInterstitialAdAvailabilityChanged(InterstitialAdAvailabilityChanged interstitialAdAvailabilityChanged) → void
setInterstitialAdClicked(InterstitialAdClicked interstitialAdClicked) → void
setInterstitialAdClosed(InterstitialAdClosed interstitialAdClosed) → void
setInterstitialAdShowed(InterstitialAdShowed interstitialAdShowed) → void
setInterstitialAdShowFailed(InterstitialAdShowFailed interstitialAdShowFailed) → void
setRewardedVideoAdClickedListener(RewardedVideoAdClicked rewardedVideoAdClicked) → void
setRewardedVideoAdClosedListener(RewardedVideoAdClosed rewardedVideoAdClosed) → void
setRewardedVideoAdEndedListener(RewardedVideoAdEnded rewardedVideoAdEnded) → void
setRewardedVideoAdRewardedListener(RewardedVideoAdRewarded rewardedVideoAdRewarded) → void
setRewardedVideoAdShowedListener(RewardedVideoAdShowed rewardedVideoAdShowed) → void
setRewardedVideoAdShowFailedListener(RewardedVideoAdShowFailed rewardedVideoAdShowFailed) → void
setRewardedVideoAdStartedListener(RewardedVideoAdStarted rewardedVideoAdStarted) → void
setRewardedVideoAvailabilityChangedListener(RewardedVideoAvailabilityChanged rewardedVideoAvailabilityChanged) → void
setSplashAdClicked(SplashAdClicked splashAdClicked) → void
setSplashAdDismissed(SplashAdDismissed splashAdDismissed) → void
setSplashAdFailed(SplashAdFailed splashAdFailed) → void
setSplashAdLoaded(SplashAdLoaded splashAdLoaded) → void
setSplashAdShowed(SplashAdShowed splashAdShowed) → void
setSplashAdShowFailed(SplashAdShowFailed splashAdShowFailed) → void
setSplashAdTick(SplashAdTick splashAdTick) → void
setUserId(String userId) Future<void>
设置用户名
showInterstitial(String sceneName) Future<void>
展示插页广告
showRewardVideo(String sceneName) Future<void>
展示激励视频
showSplashAd(String placementId) Future<void>
展示开屏广告
showTest(String appKey) Future<void>
展示测试版本
splashAdIsReady(String placementId) Future<bool?>
开屏广告是否准备好了
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited