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