本文整理汇总了C#中QueryKind类的典型用法代码示例。如果您正苦于以下问题:C# QueryKind类的具体用法?C# QueryKind怎么用?C# QueryKind使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
QueryKind类属于命名空间,在下文中一共展示了QueryKind类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ApplicasaGameVGetArrayWithQuerySync
private static extern GameVArray ApplicasaGameVGetArrayWithQuerySync(IntPtr query, QueryKind queryKind);
示例2: GetArrayWithQuerySync
public static Colors[] GetArrayWithQuerySync(Query query, QueryKind queryKind)
{
Colors[] colors = new Colors[0];
return colors;
}
示例3: GetById
public static void GetById(string id, QueryKind queryKind, GetColorsFinished callback)
{
callback(true,new Error(),new IntPtr());
}
示例4: GetArrayWithQuerySyncIEnumerator
public static IEnumerator GetArrayWithQuerySyncIEnumerator(Query query, QueryKind queryKind)
{
if(javaUnityApplicasaColors==null)
javaUnityApplicasaColors = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaColors");
AndroidJavaObject[] bigArray = javaUnityApplicasaColors.CallStatic<AndroidJavaObject[]>("ApplicasaColorsGetArrayWithQuerySync", query.innerQueryJavaObject, (int)queryKind);
Colors[] colorsInner= null;;
for (int i = 0;i < bigArray.Length;i++)
{
AndroidJavaObject tempJavaObject = bigArray[i];
AndroidJavaObject[] InnerArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(tempJavaObject.GetRawObject());
Colors[] colorstemp = new Colors[InnerArray.Length];
for (int j = 0;j < InnerArray.Length;j++)
{
AndroidJavaObject tempObj = InnerArray[j];
colorstemp[j] = new Colors(tempObj.GetRawObject(),tempObj);
}
if (colorsInner == null)
colorsInner = colorstemp;
else{
Colors[] firstOne = colorsInner;
colorsInner = new Colors[firstOne.Length+colorstemp.Length];
firstOne.CopyTo(colorsInner,0);
colorstemp.CopyTo(colorsInner,firstOne.Length);
}
yield return new WaitForSeconds(0.2f);
}
finalColors = colorsInner;
}
示例5: UpdateLocalStorage
public static int UpdateLocalStorage(Query query, QueryKind queryKind)
{
if(javaUnityApplicasaColors==null)
javaUnityApplicasaColors = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaColors");
int count = javaUnityApplicasaColors.CallStatic<int>("ApplicasaColorsUpdateLocalStorage", query.innerQueryJavaObject, (int)queryKind);
return count;
}
示例6: GetArrayWithQuerySync
public static GameV[] GetArrayWithQuerySync(Query query, QueryKind queryKind)
{
GameV[] gameV = new GameV[0];
return gameV;
}
示例7: GetArrayWithQuerySyncIEnumerator
public static IEnumerator GetArrayWithQuerySyncIEnumerator(Query query, QueryKind queryKind)
{
yield return new WaitForSeconds(0.2f);
GameV[] gameVInner = new GameV[0];
finalGameV = gameVInner;
}
示例8: GetById
public static void GetById(string id, QueryKind queryKind, GetGameVFinished callback)
{
ApplicasaGameVGetById (id, queryKind, callback);
}
示例9: ApplicasaGameVGetById
private static extern void ApplicasaGameVGetById(string id, QueryKind queryKind, GetGameVFinished callback);
示例10: GetArrayWithQuery
public static void GetArrayWithQuery(Query query, QueryKind queryKind, GetColorsArrayFinished callback)
{
ApplicasaColorsGetArrayWithQuery((query != null ? query.innerQuery : IntPtr.Zero), queryKind, callback);
}
示例11: GetArrayWithQuerySync
public static Chat[] GetArrayWithQuerySync(Query query, QueryKind queryKind)
{
if(javaUnityApplicasaChat==null)
javaUnityApplicasaChat = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaChat");
AndroidJavaObject[] bigArray = javaUnityApplicasaChat.CallStatic<AndroidJavaObject[]>("ApplicasaChatGetArrayWithQuerySync", query.innerQueryJavaObject, (int)queryKind);
Chat[] chatInner= null;
for (int i = 0;i < bigArray.Length;i++)
{
AndroidJavaObject tempJavaObject = bigArray[i];
AndroidJavaObject[] InnerArray = AndroidJNIHelper.ConvertFromJNIArray<AndroidJavaObject[]>(tempJavaObject.GetRawObject());
Chat[] chattemp = new Chat[InnerArray.Length];
for (int j = 0;j < InnerArray.Length;j++)
{
AndroidJavaObject tempObj = InnerArray[j];
chattemp[j] = new Chat(tempObj.GetRawObject(),tempObj);
}
if (chatInner == null)
chatInner = chattemp;
else{
Chat[] firstOne = chatInner;
chatInner = new Chat[firstOne.Length+chattemp.Length];
firstOne.CopyTo(chatInner,0);
chattemp.CopyTo(chatInner,firstOne.Length);
}
}
return chatInner;
}
示例12: GetArrayWithQuerySyncIEnumerator
public static IEnumerator GetArrayWithQuerySyncIEnumerator(Query query, QueryKind queryKind)
{
yield return new WaitForSeconds(0.2f);
Chat[] chatInner = new Chat[0];
finalChat = chatInner;
}
示例13: ApplicasaColorsGetArrayWithQuery
private static extern void ApplicasaColorsGetArrayWithQuery(IntPtr query, QueryKind queryKind, GetColorsArrayFinished callback);
示例14: ApplicasaColorsGetArrayWithQuerySync
private static extern ColorsArray ApplicasaColorsGetArrayWithQuerySync(IntPtr query, QueryKind queryKind);
示例15: ApplicasaColorsGetById
private static extern void ApplicasaColorsGetById(string id, QueryKind queryKind, GetColorsFinished callback);