showSplashAd method

  1. @override
Future<bool> showSplashAd(
  1. String posId, {
  2. int timeout = 3000,
})
override

展示开屏广告 posId 广告位ID timeout 超时时间

Implementation

@override
Future<bool> showSplashAd(String posId, {int timeout = 3000}) async {
  return await methodChannel
      .invokeMethod('showSplashAd', {'posId': posId, 'timeout': timeout});
}