Example #1
0
        /*
         * // TODO: - (void) showOnView:(UIView *)view Block:(PromotionResultBlock)block - Can't work with UIViews yet;
         */
#else
        public void Show(PromotionResultDelegate callback)
        {
            PromotionResultInfo tempPromotionResultInfo = new PromotionResultInfo();

            tempPromotionResultInfo.type         = PromotionResultDataType.String;
            tempPromotionResultInfo.stringResult = "";
            callback(PromotionAction.Pressed, Applicasa.PromotionResult.Nothing, tempPromotionResultInfo);
        }
 public static void PromoResult(Applicasa.PromotionAction promoAction, Applicasa.PromotionResult result, Applicasa.PromotionResultInfo info)
 {
     //Update User virtual currency balace
     Applicasa.ThirdPartyAction.GetThirdPartyActions(GetThirdPartyActionArray);
     UpdateVirtualCurrencyBalance();
     Debug.Log("LiLog_Unity " + System.DateTime.Now.ToShortTimeString() + ": Got Promotion Result");
     Debug.Log("LiLog_Unity " + System.DateTime.Now.ToShortTimeString() + ": info is " + info.stringResult);
 }
Example #3
0
 /*
 // TODO: - (void) showOnView:(UIView *)view Block:(PromotionResultBlock)block - Can't work with UIViews yet;
 */
 public void Show(PromotionResultDelegate callback)
 {
     PromotionResultInfo tempPromotionResultInfo = new PromotionResultInfo();
        tempPromotionResultInfo.type=PromotionResultDataType.String;
        tempPromotionResultInfo.stringResult="";
        callback(PromotionAction.Pressed,Applicasa.PromotionResult.Nothing,tempPromotionResultInfo);
 }