Esempio n. 1
0
        /// <summary>
        /// 結果コールバック
        /// </summary>
        /// <param name="res">結果値</param>
        public void OnResult(SocialWorkerResult res)
        {
            switch (res)
            {
            case SocialWorkerResult.Success:
                Result.text = "Result : Success";
                break;

            case SocialWorkerResult.NotAvailable:
                Result.text = "Result : NotAvailable";
                break;

            case SocialWorkerResult.Error:
                Result.text = "Result : Error";
                break;
            }
        }
Esempio n. 2
0
        /// <summary>
        /// 結果コールバック
        /// </summary>
        /// <param name="res">結果値</param>
        public void OnResult(SocialWorkerResult res)
        {
            switch(res)
            {
				case SocialWorkerResult.Success:
					Result.text = "Result : Success";
                    break;
                case SocialWorkerResult.NotAvailable:
					Result.text = "Result : NotAvailable";
                    break;
                case SocialWorkerResult.Error:
					Result.text = "Result : Error";
                    break;
            }
        }