showRewardVideoAd static method

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

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

Implementation

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