showInterstitialAd method
Future<bool>
showInterstitialAd(
- String posId, {
- bool showPopup = false,
- bool showFullScreenVideo = false,
- bool showRewardVideo = false,
- bool autoPlayOnWifi = false,
- bool autoPlayMuted = true,
- String? customData,
- String? userId,
override
Implementation
@override
Future<bool> showInterstitialAd(
String posId, {
bool showPopup = false,
bool showFullScreenVideo = false,
bool showRewardVideo = false,
bool autoPlayOnWifi = false,
bool autoPlayMuted = true,
String? customData,
String? userId,
}) async {
final bool result = await methodChannel.invokeMethod(
'showInterstitialAd',
{
'posId': posId,
'showPopup': showPopup,
'showFullScreenVideo': showFullScreenVideo,
'showRewardVideo': showRewardVideo,
'autoPlayOnWifi': autoPlayOnWifi,
'autoPlayMuted': autoPlayMuted,
'customData': customData,
'userId': userId,
},
);
return result;
}