您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
14 行
464 B
14 行
464 B
using UnityEngine;
|
|
|
|
namespace HuaweiService{
|
|
public class IBroadcastReceiver:AndroidJavaProxy{
|
|
public IBroadcastReceiver():base("com.unity.hms.location.IBroadcastReceiver"){}
|
|
|
|
public virtual void onReceive(Context arg0,Intent arg1) {
|
|
|
|
}
|
|
public void onReceive(AndroidJavaObject arg0,AndroidJavaObject arg1) {
|
|
onReceive(HmsUtil.GetHmsBase<Context>(arg0),HmsUtil.GetHmsBase<Intent>(arg1));
|
|
}
|
|
}
|
|
}
|