您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
26 行
644 B
26 行
644 B
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HuaweiService
|
|
{
|
|
public class ExecuteResultData : IHmsBaseListener
|
|
{
|
|
public string name => "com.huawei.hmf.tasks.ExecuteResult";
|
|
public string buildName => "";
|
|
}
|
|
public class ExecuteResult : HmsListener<ExecuteResultData>
|
|
{
|
|
|
|
public virtual void onComplete(Task arg0) {
|
|
Call("onComplete", arg0);
|
|
}
|
|
|
|
public void onComplete(AndroidJavaObject arg0){
|
|
onComplete(HmsUtil.GetHmsBase<Task>(arg0));
|
|
}
|
|
|
|
public virtual void cancel() {
|
|
Call("cancel");
|
|
}
|
|
}
|
|
}
|