示例#1
0
        /// <summary>
        /// Sets the interaction listener for this Ad.
        /// </summary>
        public void SetSplashInteractionListener(
            ISplashAdInteractionListener listener)
        {
            var androidListener = new AdInteractionListener(listener);

            this.ad.Call("setSplashInteractionListener", androidListener);
        }
示例#2
0
        /// <summary>
        /// Sets the interaction listener for this Ad.
        /// </summary>
        public void SetSplashInteractionListener(
            ISplashAdInteractionListener listener)
        {
            var context = interactionContextID++;

            interactionListeners.Add(context, listener);

            UnionPlatform_SplashAd_SetInteractionListener(
                this.splashAd,
                SplashAd_OnAdShowMethod,
                SplashAd_OnAdClickMethod,
                SplashAd_OnAdCloseMethod,
                SplashAd_OnAdSkipMethod,
                SplashAd_OnAdTimeOverMethod,
                context);
        }
示例#3
0
 /// <summary>
 /// Sets the interaction listener for this Ad.
 /// </summary>
 public void SetSplashInteractionListener(
     ISplashAdInteractionListener listener)
 {
 }
示例#4
0
 public AdInteractionListener(
     ISplashAdInteractionListener listener)
     : base("com.bytedance.sdk.openadsdk.TTSplashAd$AdInteractionListener")
 {
     this.listener = listener;
 }