loadAd method

dynamic loadAd({
  1. required String posId,
  2. required double adWidth,
  3. required double adHeight,
  4. Map<String, String> scenes = const {},
})

加载广告

Implementation

loadAd({
  required String posId,
  required double adWidth,
  required double adHeight,
  Map<String, String> scenes = const {},
}) {
  load(
    posId: posId,
    methodName: BwtAdCore.methodLoadNativeAd,
    arguments: {
      BwtAdCore.keyAdWidth: adWidth,
      BwtAdCore.keyAdHeight: adHeight,
      BwtAdCore.keyScenes:scenes,
    },
  );
}