MohoDialogAd class
- Implemented types
Constructors
- MohoDialogAd({required String appID, required String adId, required bool isMute, required bool isFullScreen, required MohoLoadListener mohoLoadListener, required MohoRenderingListener mohoRenderingListener})
Properties
- adId → String
-
final
- appID → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFullScreen → bool
-
final
- isMute → bool
-
final
- mohoLoadListener → MohoLoadListener
-
final
- mohoRenderingListener → MohoRenderingListener
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
load(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAdClicked(
String adId) → void -
广告被点击
override
-
onAdClose(
String adId) → void -
广告关闭
override
-
onAdShow(
String adId) → void -
广告曝光
override
-
onAdVideoComplete(
String adId) → void -
广告中的视频播放成功
override
-
onLoadError(
String adId, String extra) → void -
广告加载失败
override
-
onLoadSuccess(
String adId) → void -
广告加载成功!
override
-
onRenderingError(
String adId, String extra) → void -
广告渲染失败
override
-
onRewardVerify(
String adId) → void -
激励视频播放播放
override
-
show(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited