setCustomAdInfo method
开发者通过此接口在展示前设置透传信息,透传信息可以在广告展示后的相关回调的adInfo中获取
Implementation
Future<void> setCustomAdInfo(String adUnitId, Map customAdInfo) async {
Map arguments = {};
arguments['adUnitID'] = adUnitId;
arguments['customAdInfo'] = customAdInfo;
TradplusSdk.channel.invokeMethod('splash_setCustomAdInfo', arguments);
}