Mbads class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
flowAd({required List<AdItem> adItems, required double width, double height = 0, String userId = "123", required MbFlowCallBack callBack})
→ Widget
-
开屏广告
-
initConfig({required String androidTTId, required String iosTTId, required String appName, bool debug = false})
→ Future<bool?>
-
SDK注册初始化
-
insertLoad({required List<AdItem> adItems, String classify = "mb", int orientation = 1})
→ dynamic
-
加载新插屏广告
-
insertShow({String classify = "mb"})
→ dynamic
-
显示新插屏广告
-
inspireLoad({required List<AdItem> adItems, String classify = "mb"})
→ dynamic
-
加载激励视频
-
inspireShow({String classify = "mb"})
→ dynamic
-
显示激励视频
-
splashAd({required List<AdItem> adItems, double width = 0, double height = 0, String userId = "123", required MbSplashCallBack callBack})
→ Widget
-
开屏广告