示例#1
0
        /// <summary>
        /// Set the dislike interaction listener.
        /// </summary>
        public void SetDislikeInteractionCallback(
            IDislikeInteractionListener listener)
        {
            var androidListener = new DislikeInteractionCallback(listener);

            this.ad.Call("setDislikeInteractionCallback", androidListener);
        }
示例#2
0
        /// <summary>
        /// Gets the dislike dislog.
        /// </summary>
        public AdDislike GetDislikeDialog(IDislikeInteractionListener listener)
        {
            var androidListener = new DislikeInteractionCallback(listener);
            var dislike         = this.ad.Call <AndroidJavaObject>(
                "getDislikeDialog", androidListener);

            return(new AdDislike(dislike));
        }