您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
52 行
1.7 KiB
52 行
1.7 KiB
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HuaweiService.crash
|
|
{
|
|
public class AGConnectCrash_Data : IHmsBaseClass{
|
|
public string name => "com.huawei.agconnect.crash.AGConnectCrash";
|
|
}
|
|
public class AGConnectCrash :HmsClass<AGConnectCrash_Data>
|
|
{
|
|
public AGConnectCrash (): base() { }
|
|
public static AGConnectCrash getInstance() {
|
|
return CallStatic<AGConnectCrash>("getInstance");
|
|
}
|
|
public void enableCrashCollection(bool arg0) {
|
|
Call("enableCrashCollection", arg0);
|
|
}
|
|
public void testIt(Context arg0) {
|
|
Call("testIt", arg0);
|
|
}
|
|
public void setUserId(string arg0) {
|
|
Call("setUserId", arg0);
|
|
}
|
|
public void setCustomKey(string arg0, long arg1) {
|
|
Call("setCustomKey", arg0, arg1);
|
|
}
|
|
public void setCustomKey(string arg0, int arg1) {
|
|
Call("setCustomKey", arg0, arg1);
|
|
}
|
|
public void setCustomKey(string arg0, string arg1) {
|
|
Call("setCustomKey", arg0, arg1);
|
|
}
|
|
public void setCustomKey(string arg0, bool arg1) {
|
|
Call("setCustomKey", arg0, arg1);
|
|
}
|
|
public void setCustomKey(string arg0, double arg1) {
|
|
Call("setCustomKey", arg0, arg1);
|
|
}
|
|
public void setCustomKey(string arg0, float arg1) {
|
|
Call("setCustomKey", arg0, arg1);
|
|
}
|
|
public void log(int arg0, string arg1) {
|
|
Call("log", arg0, arg1);
|
|
}
|
|
public void log(string arg0) {
|
|
Call("log", arg0);
|
|
}
|
|
public void recordException(Throwable arg0) {
|
|
Call("recordException", arg0);
|
|
}
|
|
}
|
|
}
|