loadBannerAd function

Future loadBannerAd({
  1. required String mCodeId,
  2. required bool supportDeepLink,
  3. double? expressViewWidth,
  4. double? expressViewHeight,
  5. bool? isCarousel,
  6. int? interval,
  7. int? topMargin,
})

Implementation

Future loadBannerAd(
    {required String mCodeId,
    required bool supportDeepLink,
    double? expressViewWidth,
    double? expressViewHeight,
    bool? isCarousel,
    int? interval,
    int? topMargin}) async {
  return await _channel.invokeMethod("loadBannerAd", {
    "mCodeId": mCodeId,
    "supportDeepLink": supportDeepLink,
    "expressViewWidth": expressViewWidth,
    "expressViewHeight": expressViewHeight,
    "isCarousel": isCarousel,
    "interval": interval,
    "topMargin": topMargin
  });
}