Beispiel #1
0
        private static void ErrorRewardedCallback(IntPtr selfPtr, VideoAdCallbackType type, int errorCode)
        {
            GCHandle           handle   = (GCHandle)selfPtr;
            IOSRewardedVideoAd instance = (IOSRewardedVideoAd)handle.Target;

            instance.CallBack(new ErrorVideoAdCallbackArgments(type, errorCode));
        }
Beispiel #2
0
        private static void RewardedVideoAdCallback(IntPtr selfPtr, VideoAdCallbackType type, string currencyName, int currencyAmount)
        {
            GCHandle           handle   = (GCHandle)selfPtr;
            IOSRewardedVideoAd instance = (IOSRewardedVideoAd)handle.Target;

            instance.CallBack(new RewardedVideoAdCallbackArgments(type, new NendAdRewardedItem(currencyName, currencyAmount)));
        }
Beispiel #3
0
        private static void NormalRewardedCallback(IntPtr selfPtr, VideoAdCallbackType type)
        {
            GCHandle           handle   = (GCHandle)selfPtr;
            IOSRewardedVideoAd instance = (IOSRewardedVideoAd)handle.Target;

            instance.CallBack(new VideoAdCallbackArgments(type));
        }