示例#1
0
        public static void SetLiKitPromotionDelegateAndCheckPromotions(Promotion.PromotionsAvailable eventCallback, bool checkPromotions)
        {
            if (javaUnityApplicasaPromotionManager == null)
            {
                javaUnityApplicasaPromotionManager = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaPromotionManager");
            }
            int uniqueActionID = Core.currentCallbackID;

            Core.currentCallbackID++;
            setPromotionsAvailable(eventCallback, uniqueActionID);
            javaUnityApplicasaPromotionManager.CallStatic("ApplicasaPromoSetLiKitPromotionDelegateAndCheck", uniqueActionID, checkPromotions);
        }
示例#2
0
 private static extern void setPromotionsAvailable(Promotion.PromotionsAvailable callback, int uniqueActionID);
示例#3
0
 private static extern void ApplicasaPromoSetLiKitPromotionDelegate(Promotion.PromotionsAvailable eventCallback);
示例#4
0
 public static void SetLiKitPromotionDelegateAndCheckPromotions(Promotion.PromotionsAvailable eventCallback, bool checkPromotions)
 {
     eventCallback(new Promotion.PromotionArray());
 }
示例#5
0
 public static void SetLiKitPromotionDelegateAndCheckPromotions(Promotion.PromotionsAvailable eventCallback, bool checkPromotions)
 {
     ApplicasaPromoSetLiKitPromotionDelegateAndCheck(eventCallback, checkPromotions);
 }
示例#6
0
 public static void SetLiKitPromotionDelegate(Promotion.PromotionsAvailable eventCallback)
 {
     eventCallback(new Promotion.PromotionArray());
 }
示例#7
0
 private static extern void ApplicasaPromoSetLiKitPromotionDelegateAndCheck(Promotion.PromotionsAvailable eventCallback, bool checkPromotions);
示例#8
0
 public static void SetLiKitPromotionDelegate(Promotion.PromotionsAvailable eventCallback)
 {
     ApplicasaPromoSetLiKitPromotionDelegate(eventCallback);
 }