MohoflutterpluginPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • MohoflutterpluginPlatform
Implementers

Constructors

MohoflutterpluginPlatform()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodCall Map<String, MohoMethodCallHandler>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

instance MohoflutterpluginPlatform
getter/setter pair