using System.Collections.Generic; using UnityEngine; namespace HuaweiService.CloudFunction { public class FunctionCallable_Data : IHmsBaseClass{ public string name => "com.huawei.agconnect.function.FunctionCallable"; } public class FunctionCallable : HmsClass { private FunctionWrapper wrapper; public FunctionCallable () : base () { wrapper = new FunctionWrapper (); } public Task call () { return Call ("call"); } public Task call (T arg0) { var json = JsonSerializer.ToJson (arg0); var node = wrapper.jsonToMap (json); return Call ("call", node); } public long getTimeout () { return Call ("getTimeout"); } public void setTimeout (long arg0, TimeUnit arg1) { Call ("setTimeout", arg0, arg1); } public FunctionCallable clone (long arg0, TimeUnit arg1) { return Call ("clone", arg0, arg1); } } public class FunctionWrapper_Data : IHmsBaseClass { public string name => "com.huawei.unity.function.FunctionWrapper"; } public class FunctionWrapper : HmsClass { public FunctionWrapper () : base () { } public AndroidJavaObject jsonToMap (string arg0) { return Call ("jsonToMap", arg0); } } }