コード例 #1
0
        // Sets up internal managed callbacks

        public override void OnLoad(int uniqueId,
                                    FBRewardedVideoAdBridgeCallback callback)
        {
            RewardedVideoAdContainer container = RewardedVideoAdBridgeIOS.rewardedVideoAdContainerForuniqueId(uniqueId);

            if (container)
            {
                container.onLoad = (container.rewardedVideoAd.LoadAdFromData);
            }
        }
コード例 #2
0
        public override void OnDidFail(int uniqueId,
                                       FBRewardedVideoAdBridgeCallback callback)
        {
            RewardedVideoAdContainer container = RewardedVideoAdBridgeIOS.rewardedVideoAdContainerForuniqueId(uniqueId);

            if (container)
            {
                container.onDidFail = callback;
            }
        }
コード例 #3
0
        // Sets up internal managed callbacks

        public override void OnLoad(int uniqueId,
                                    FBRewardedVideoAdBridgeCallback callback)
        {
            RewardedVideoAdContainer container = RewardedVideoAdBridgeIOS.rewardedVideoAdContainerForuniqueId(uniqueId);

            if (container)
            {
                container.onLoad = (delegate() {
                    container.rewardedVideoAd.loadAdFromData();
                    if (callback != null)
                    {
                        callback();
                    }
                });
            }
        }
コード例 #4
0
 public override void OnActivityDestroyed(int uniqueId, FBRewardedVideoAdBridgeCallback callback)
 {
 }
コード例 #5
0
 public override void OnDidClose(int uniqueId, FBRewardedVideoAdBridgeCallback callback)
 {
 }
コード例 #6
0
 public override void OnImpression(int uniqueId, FBRewardedVideoAdBridgeCallback callback)
 {
 }
コード例 #7
0
 public virtual void OnDidFail(int uniqueId,
                               FBRewardedVideoAdBridgeCallback callback)
 {
 }
コード例 #8
0
 public virtual void OnComplete(int uniqueId,
                                FBRewardedVideoAdBridgeCallback callback)
 {
 }
コード例 #9
0
 public virtual void OnWillClose(int uniqueId,
                                 FBRewardedVideoAdBridgeCallback callback)
 {
 }