contentAd static method
原生展示视频内容
Implementation
static void contentAd(
/// 广告位ID
String posId, {
/// 回调。具体事件见 example
Function(ZJEvent ret)? contentAdListener,
/// 样式
int type = 0,
}) {
ZJSdkMessageChannel.setContentAdListener(contentAdListener);
_sdkMethodChannel.invokeMethod("contentAd", {"posId": posId, "type": type});
}