loadFeedAd method
加载信息流广告列表
posId
广告位 id
width
宽度
height
高度
count
获取广告数量,建议 1~3 个
Implementation
@override
Future<List<int>> loadFeedAd(String posId,
{int width = 375, int height = 0, int count = 1}) async {
final List<dynamic> result = await methodChannel.invokeMethod(
'loadFeedAd',
{
'posId': posId,
'width': width,
'height': height,
'count': count,
},
);
return List<int>.from(result);
}