Пример #1
0
        void Awake()
        {
#if !UNITY_EDITOR
            listener = new FullScreenVideoAdListener(this);
            retryer.Regist(this);
#endif
        }
Пример #2
0
        /// <summary>
        /// Load the full screen video Ad asynchronously and notice on listener.
        /// </summary>
        public void LoadFullScreenVideoAd(
            AdSlot adSlot, IFullScreenVideoAdListener listener)
        {
            var androidListener = new FullScreenVideoAdListener(listener);

            this.adNative.Call(
                "loadFullScreenVideoAd", adSlot.Handle, androidListener);
        }