public virtual Task LoadAdAsync(AdParam paramAdParam) { var task = new TaskCompletionSource <int>(); LoadAd(paramAdParam, () => task.SetResult(0), (errorCode) => { var error = new HMSException(errorCode); task.SetException(error); }); return(task.Task); }
void ClientInitFailed(HMSException exception) { this.storeEvents.OnSetupFailed(InitializationFailureReason.PurchasingUnavailable); }
private void OnGetAchievementListFailure(HMSException error) { Debug.Log("HMS Games: GetAchievementsList ERROR "); }
private void OnGetScoresFromLeaderboardFailure(HMSException error) { Debug.Log("HMS Games: GetScoresFromLeaderboard ERROR "); }
private void OnShowLeaderboardsFailure(HMSException error) { Debug.Log("HMS Games: ShowLeaderboards ERROR "); }
private void OnSetUserScoreShownOnLeaderboardsFailure(HMSException exception) { Debug.Log("HMS Games: SetUserScoreShownOnLeaderboards ERROR "); }
private void OnSetStepAchievemenFailure(HMSException error) { Debug.Log("HMS Games: SetStepAchievement ERROR "); }
private void OnAuthSericeSignInFailed(HMSException error) { loggedInUser.text = LOGIN_ERROR; }
private void OnIsUserScoreShownOnLeaderboardsFailure(HMSException error) { }
private void OnUnlockAchievementFailure(HMSException error) { }
private void OnSetStepAchievemenFailure(HMSException error) { }
void ClientInitFailed(HMSException exception) { Debug.Log("UnityIapProvider - ClientInitFailed: " + exception.WrappedCauseMessage); Debug.Log("UnityIapProvider - ClientInitFailed: " + exception.WrappedExceptionMessage); this.storeEvents.OnSetupFailed(InitializationFailureReason.PurchasingUnavailable); }
private void OnSignInFailed(HMSException obj) { Debug.Log(" OnSignInFailed "); }
public static IapApiException AsIapApiException(this HMSException exception) => new IapApiException(exception.JavaException);
public static bool IsIapApiException(this HMSException exception) => exception.JavaException.InstanceOf("com.huawei.hms.iap.IapApiException");
public void OnLoginFailure(HMSException error) { loggedInUser.text = LOGIN_ERROR; }
private void OnExecuteQueryFailed(HMSException error) => Debug.Log($"{TAG} OnExecuteQueryFailed(HMSException error) => {error.WrappedExceptionMessage}");
private void OnShowAchievementsFailure(HMSException exception) { }
private void OnIncreaseStepAchievementFailure(HMSException error) { Debug.Log("HMS Games: IncreaseStepAchievement ERROR "); }
private void OnRevealAchievementFailure(HMSException error) { }
private void OnUnlockAchievementFailure(HMSException error) { Debug.Log("HMS Games: UnlockAchievement ERROR "); }
private void OnIncreaseStepAchievementFailure(HMSException error) { }
private void OnSubmitScoreFailure(HMSException exception) { Debug.Log("HMS Games: SubmitScore ERROR "); }
private void OnAuthSericeCreateUserFailed(HMSException error) { loggedInUser.text = error.WrappedExceptionMessage; verifyCodePhone.SetActive(false); verifyCodeEmail.SetActive(false); }
private void OnGetLeaderboardsDataFailure(HMSException exception) { Debug.Log("HMS Games: GetLeaderboardsData ERROR "); }
private void OnFecthFailure(HMSException exception) { Debug.Log($"[{TAG}]: fetch() Failed Error Code => {exception.ErrorCode} Message => {exception.WrappedExceptionMessage}"); }
private void OnShowAchievementsFailure(HMSException exception) { Debug.Log("HMS Games: ShowAchievements ERROR "); }
public void OnLoginFailure(HMSException error) { }
private void OnRevealAchievementFailure(HMSException error) { Debug.Log("HMS Games: RevealAchievement ERROR "); }
void GetProductsFailure(HMSException exception) { this.storeEvents.OnSetupFailed(InitializationFailureReason.PurchasingUnavailable); }