using UnityEngine; using System.Collections.Generic; namespace HuaweiService { public class AndroidUtil_Data : IHmsBaseClass{ public string name => "com.unity.AndroidUtil.AndroidUtil"; } public class AndroidUtil :HmsClass { public AndroidUtil (): base() { } public static int GetAndroidVersion() { return CallStatic("GetAndroidVersion"); } public static int GetAndroidVersionCodeP() { return CallStatic("GetAndroidVersionCodeP"); } public static int GetPMPermissionGranted() { return CallStatic("GetPMPermissionGranted"); } public static int GetId(Context arg0, string arg1, string arg2) { return CallStatic("GetId", arg0, arg1, arg2); } } }