MethodChannelMohoflutterplugin class

An implementation of MohoflutterpluginPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodCall Map<String, MohoMethodCallHandler>
getter/setter pairinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getMohoNativeSDKVersion() Future<String?>
获取魔盒原生sdk版本号
override
initMohoSDk(String appID, String appToken) Future<String?>
初始化魔盒sdk
override
loadBannerAd(String appID, String adId, int adWith, int adHeight) → void
加载banner
override
loadDrawAd(String appID, String adId, int adWith, int adHeight) → void
获取视频Draw信息流
override
loadInsertScreenAd(String appID, String adId, bool isMute, bool isFullScreen) → void
加载插屏广告 isMute 是否静音 true为静音
override
loadRewardAd(String appID, String adId) → void
加载激励视频
override
loadSplashAd(String appID, String adId, int adWith, int adHeight) → void
加载开屏
override
loadTemplateInfomationFlowAd(String appID, String adId, int adWith, int adHeight) → void
加载信息流
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showInsertScreenAd(String appID, String adId) → void
显示插屏广告
override
showRewardAd(String appID, String adId) → void
显示激励视频
override
toString() String
A string representation of this object.
inherited

Operators

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