Exemplo n.º 1
0
        public static IEnumerator GetLanguagesArrayIEnumerator(LanguagesArray languagesArray)
        {
            yield return(new WaitForSeconds(0.2f));

            Languages[] languagesInner = new Languages[0];
            finalLanguages = languagesInner;
        }
Exemplo n.º 2
0
        public static IEnumerator GetArrayWithQuerySyncIEnumerator(Query query, QueryKind queryKind)
        {
            LanguagesArray languagesArray = ApplicasaLanguagesGetArrayWithQuerySync((query != null ? query.innerQuery : IntPtr.Zero), queryKind);

            finalLanguages = GetLanguagesArray(languagesArray);
            yield return(new WaitForSeconds(0.1f));
        }
Exemplo n.º 3
0
        public static Languages[] GetLanguagesArray(LanguagesArray languagesArray)
        {
            Languages[] languagess = new Languages[languagesArray.ArraySize];

            for (int i = 0; i < languagesArray.ArraySize; i++)
            {
                IntPtr newPtr = Marshal.ReadIntPtr(languagesArray.Array, i * Marshal.SizeOf(typeof(IntPtr)));
                languagess[i] = new Languages(newPtr);
            }
            return(languagess);
        }
Exemplo n.º 4
0
        public static Languages[] GetLanguagesArray(LanguagesArray languagesArray)
        {
            Languages[]         languagesInner = new Languages[languagesArray.ArraySize];
            AndroidJavaObject[] bigArray       = AndroidJNIHelper.ConvertFromJNIArray <AndroidJavaObject[]>(languagesArray.Array);

            int count = 0;

            for (int i = 0; i < bigArray.Length; i++)
            {
                AndroidJavaObject   tempJavaObject = bigArray[i];
                AndroidJavaObject[] InnerArray     = AndroidJNIHelper.ConvertFromJNIArray <AndroidJavaObject[]>(tempJavaObject.GetRawObject());

                for (int j = 0; j < InnerArray.Length; j++)
                {
                    AndroidJavaObject tempObj = InnerArray[j];
                    languagesInner[count] = new Languages(tempObj.GetRawObject(), tempObj);
                    count++;
                }
            }
            return(languagesInner);
        }
Exemplo n.º 5
0
        public static IEnumerator GetLanguagesArrayIEnumerator(LanguagesArray languagesArray)
        {
            Languages[]         languagesInner = new Languages[languagesArray.ArraySize];
            AndroidJavaObject[] bigArray       = AndroidJNIHelper.ConvertFromJNIArray <AndroidJavaObject[]>(languagesArray.Array);

            int count = 0;

            for (int i = 0; i < bigArray.Length; i++)
            {
                AndroidJavaObject   tempJavaObject = bigArray[i];
                AndroidJavaObject[] InnerArray     = AndroidJNIHelper.ConvertFromJNIArray <AndroidJavaObject[]>(tempJavaObject.GetRawObject());

                for (int j = 0; j < InnerArray.Length; j++)
                {
                    AndroidJavaObject tempObj = InnerArray[j];
                    languagesInner[count] = new Languages(tempObj.GetRawObject(), tempObj);
                    count++;
                }
                yield return(new WaitForSeconds(0.2f));
            }
            finalLanguages = languagesInner;
        }
Exemplo n.º 6
0
 public static IEnumerator GetLanguagesArrayIEnumerator(LanguagesArray languagesArray)
 {
     finalLanguages = GetLanguagesArray(languagesArray);
     yield return(new WaitForSeconds(0.1f));
 }
Exemplo n.º 7
0
 public static Languages[] GetLanguagesArray(LanguagesArray languagesArray)
 {
     Languages[] languagess = new Languages[0];
     return(languagess);
 }
Exemplo n.º 8
0
 public static IEnumerator GetLanguagesArrayIEnumerator(LanguagesArray languagesArray)
 {
     yield return new WaitForSeconds(0.2f);
     Languages[]  languagesInner = new Languages[0];
     finalLanguages = languagesInner;
 }
Exemplo n.º 9
0
        public static IEnumerator GetLanguagesArrayIEnumerator(LanguagesArray languagesArray)
        {
            Languages[] languagesInner = new Languages[languagesArray.ArraySize];
            AndroidJavaObject[] bigArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(languagesArray.Array);

            int count = 0;
            for (int i = 0;i < bigArray.Length;i++)
            {
                AndroidJavaObject tempJavaObject = bigArray[i];
                AndroidJavaObject[] InnerArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(tempJavaObject.GetRawObject());

                for (int j = 0;j < InnerArray.Length;j++)
                {
                    AndroidJavaObject tempObj = InnerArray[j];
                    languagesInner[count] = new Languages(tempObj.GetRawObject(),tempObj);
                    count++;
                }
                yield return new WaitForSeconds(0.2f);
            }
            finalLanguages = languagesInner;
        }
Exemplo n.º 10
0
 public static IEnumerator GetLanguagesArrayIEnumerator(LanguagesArray languagesArray)
 {
     finalLanguages = GetLanguagesArray(languagesArray);
     yield return new WaitForSeconds(0.1f);
 }
Exemplo n.º 11
0
 public static Languages[] GetLanguagesArray(LanguagesArray languagesArray)
 {
     Languages[] languagess = new Languages[0];
     return languagess;
 }
Exemplo n.º 12
0
        public static Languages[] GetLanguagesArray(LanguagesArray languagesArray)
        {
            Languages[] languagess = new Languages[languagesArray.ArraySize];

            for (int i=0; i < languagesArray.ArraySize; i++) {

                IntPtr newPtr = Marshal.ReadIntPtr (languagesArray.Array, i * Marshal.SizeOf(typeof(IntPtr)));
                languagess[i] = new Languages(newPtr);
            }
            return languagess;
        }
Exemplo n.º 13
0
        public static Languages[] GetLanguagesArray(LanguagesArray languagesArray)
        {
            Languages[] languagesInner = new Languages[languagesArray.ArraySize];
            AndroidJavaObject[] bigArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(languagesArray.Array);

            int count = 0;
            for (int i = 0;i < bigArray.Length;i++)
            {
                AndroidJavaObject tempJavaObject = bigArray[i];
                AndroidJavaObject[] InnerArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(tempJavaObject.GetRawObject());

                for (int j = 0;j < InnerArray.Length;j++)
                {
                    AndroidJavaObject tempObj = InnerArray[j];
                    languagesInner[count] = new Languages(tempObj.GetRawObject(),tempObj);
                    count++;
                }
            }
            return languagesInner;
        }