PottingMobileUtilsBase.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class PottingMobileUtilsBase
  5. {
  6. /// <summary>
  7. /// 获取网络状态
  8. /// 返回状态码:WIFI MOBILE_NETWORK NO_NETWORK
  9. /// </summary>
  10. public static string _GetNetworkType()
  11. {
  12. return "";
  13. }
  14. /// <summary>
  15. /// 获取设备id
  16. /// </summary>
  17. /// <returns></returns>
  18. public static string _GetDeviceId()
  19. {
  20. return "";
  21. }
  22. /// <summary>
  23. /// 判断是否挖孔屏
  24. /// </summary>
  25. /// <returns></returns>
  26. public static bool _HasNotchScreen()
  27. {
  28. return false;
  29. }
  30. /// <summary>
  31. /// 获取系统版本
  32. /// </summary>
  33. /// <returns></returns>
  34. public static string _GetSystemVersion()
  35. {
  36. return "";
  37. }
  38. /// <summary>
  39. /// 重启application
  40. /// </summary>
  41. /// <returns></returns>
  42. public static void _RestartApplication()
  43. {
  44. }
  45. /// <summary>
  46. /// 获取运营商信息
  47. /// </summary>
  48. /// <returns></returns>
  49. public static string _GetSimOperatorByMnc()
  50. {
  51. return "";
  52. }
  53. /// <summary>
  54. /// 获取手机型号
  55. /// </summary>
  56. /// <returns></returns>
  57. public static string _GetModel()
  58. {
  59. return "";
  60. }
  61. }