siyao
4 年前
当前提交
37721afb
共有 18 个文件被更改,包括 315 次插入 和 54 次删除
-
6Assets/HuaweiHms/README.md
-
20Assets/HuaweiHms/src/Editor/AfterBuildToDo.cs
-
7Assets/HuaweiHms/src/hms/Android/service/IPushServiceListener.cs
-
10Assets/HuaweiHms/src/hms/JavaCode/javaClass/ads/RewardAd.cs
-
16Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/AGConnectServicesConfig.cs
-
20Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/Map.cs
-
20Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/Task.cs
-
4Assets/HuaweiHms/src/hms/JavaCode/special.cs/HiAnalyticsInstance.cs
-
95Assets/HuaweiHmsDemo/demo/test/AnalyticTest.cs
-
6Assets/HuaweiHmsDemo/demo/test/PushTest.cs
-
36Assets/HuaweiHmsDemo/demo/test/ads/AdsListener.cs
-
11Assets/HuaweiHmsDemo/demo/test/ads/AdsTest.cs
-
14Assets/HuaweiHmsDemo/demo/test/location/ActiveConvertionTest.cs
-
41Assets/HuaweiHmsDemo/demo/test/location/GetLocationTest.cs
-
22Assets/HuaweiHmsDemo/demo/test/location/LocationListener.cs
-
1Assets/HuaweiHmsDemo/demo/test/location/LocationUpdateTest.cs
-
18Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/Set.cs
-
22Assets/HuaweiHms/src/hms/JavaCode/javaClass/base/Toast.cs
|
|||
using UnityEngine; |
|||
using System.Collections.Generic; |
|||
|
|||
namespace HuaweiHms |
|||
{ |
|||
public class Set_Data : IHmsBaseClass{ |
|||
public string name => "java.util.Map"; |
|||
} |
|||
public class Set<T> :HmsClass<Set_Data> |
|||
{ |
|||
public Set (): base() { } |
|||
|
|||
public T[] toArray() |
|||
{ |
|||
return Call<T[]>("toArray"); |
|||
} |
|||
} |
|||
} |
|
|||
using UnityEngine; |
|||
using System.Collections.Generic; |
|||
|
|||
namespace HuaweiHms |
|||
{ |
|||
public class Toast_Data : IHmsBaseClass{ |
|||
public string name => "android.widget.Toast"; |
|||
} |
|||
public class Toast :HmsClass<Toast_Data> |
|||
{ |
|||
public const int LENGTH_LONG = 1; |
|||
public const int LENGTH_SHORT = 0; |
|||
public Toast (Context arg0): base(arg0) { } |
|||
public Toast (): base() { } |
|||
public static Toast makeText(Context arg0, string arg1, int arg2) { |
|||
return CallStatic<Toast>("makeText", arg0, arg1, arg2); |
|||
} |
|||
public void show() { |
|||
Call("show"); |
|||
} |
|||
} |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue