OnAchievementsLoaded() private méthode

private OnAchievementsLoaded ( int statusCode, AndroidJavaObject buffer ) : void
statusCode int
buffer UnityEngine.AndroidJavaObject
Résultat void
Exemple #1
0
            public void onResult(AndroidJavaObject result)
            {
                Logger.d("OnAchievementsLoadedResultProxy invoked");
                Logger.d("    result=" + result);
                int statusCode = JavaUtil.GetStatusCode(result);
                AndroidJavaObject achBuffer = JavaUtil.CallNullSafeObjectMethod(result,
                                                                                "getAchievements");

                mOwner.OnAchievementsLoaded(statusCode, achBuffer);
                if (achBuffer != null)
                {
                    achBuffer.Dispose();
                }
            }
 public void onAchievementsLoaded(int statusCode, AndroidJavaObject buffer)
 {
     mOwner.OnAchievementsLoaded(statusCode, buffer);
 }