showRewardVideoAd static method

Future<bool> showRewardVideoAd(
  1. String adId,
  2. String userId
)

展示激励视频广告 adId 广告配置 adId

Implementation

static Future<bool> showRewardVideoAd(String adId, String userId) async {
  final bool result = await _channel.invokeMethod(
    'showRewardVideoAd',
    {'adId': adId, 'userId': userId},
  );
  return result;
}