loadAd method

dynamic loadAd({
  1. required String posId,
  2. required double adWidth,
  3. required double adHeight,
})

加载banner广告

Implementation

loadAd({
  required String posId,
  required double adWidth,
  required double adHeight,
}) {
  load(posId: posId, methodName: OSETAdSDK.methodLoadBannerAd, arguments: {
    OSETAdSDK.keyPosId: posId,
    OSETAdSDK.keyAdWidth: adWidth,
    OSETAdSDK.keyAdHeight: adHeight,
  });
}