Exemplo n.º 1
0
        /// <summary>
        /// Load the feed Ad asynchronously and notice on listener.
        /// </summary>
        public void LoadFeedAd(AdSlot adSlot, IFeedAdListener listener)
        {
            var androidListener = new FeedAdListener(listener);

            this.adNative.Call("loadFeedAd", adSlot.Handle, androidListener);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Load the feed Ad asynchronously and notice on listener.
 /// </summary>
 public void LoadFeedAd(AdSlot adSlot, IFeedAdListener listener)
 {
     listener.OnError(0, "Not Support on this platform");
 }
Exemplo n.º 3
0
 public FeedAdListener(IFeedAdListener listener)
     : base("com.bytedance.sdk.openadsdk.TTAdNative$FeedAdListener")
 {
     this.listener = listener;
 }