Пример #1
0
        public void GetLeaderboards(HashSet <string> leaderboardIds, Action <string> onSuccess,
                                    Action <string> onFailure = null)
        {
            var javaList = AndroidUtils.ConvertToArrayList(new List <string>(leaderboardIds));

            getSocialJavaObject.Call("getLeaderboards", javaList, new OperationStringCallbackProxy(onSuccess, onFailure));
        }
Пример #2
0
 private void OnComplete(AndroidJavaObject callback, string requestId, IList <string> to)
 {
     if (!callback.IsJavaNull())
     {
         callback.Call("onComplete", requestId, AndroidUtils.ConvertToArrayList(to));
     }
 }