您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
39 行
1.3 KiB
39 行
1.3 KiB
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HuaweiService.CloudDB
|
|
{
|
|
public class Transaction_Data : IHmsBaseClass{
|
|
public string name => "com.huawei.agconnect.cloud.database.Transaction";
|
|
}
|
|
public class Transaction :HmsClass<Transaction_Data>
|
|
{
|
|
public Transaction (): base() { }
|
|
public List executeQuery(CloudDBZoneQuery cloudDBZoneQuery) {
|
|
return Call<List>("executeQuery", cloudDBZoneQuery);
|
|
}
|
|
public Transaction executeUpsert(List objectList) {
|
|
return Call<Transaction>("executeUpsert", objectList);
|
|
}
|
|
public Transaction executeDelete(List objectList) {
|
|
return Call<Transaction>("executeDelete", objectList);
|
|
}
|
|
|
|
public class FunctionData : IHmsBaseListener
|
|
{
|
|
public string name => "com.huawei.agconnect.cloud.database.Transaction$Function";
|
|
public string buildName => "";
|
|
}
|
|
public class Function : HmsListener<FunctionData>
|
|
{
|
|
|
|
public virtual bool apply(Transaction transaction) {
|
|
return Call<bool>("apply", transaction);
|
|
}
|
|
|
|
public bool apply(AndroidJavaObject transaction){
|
|
return apply(HmsUtil.GetHmsBase<Transaction>(transaction));
|
|
}
|
|
}
|
|
}
|
|
}
|