本演示项目在Unity for Android Build中启用部分华为HMS和AGC服务,对应的类和函数的名称和用法相同。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
962 B

using UnityEngine;
using System.Collections.Generic;
namespace HuaweiService
{
public class TimeUnit_Data : IHmsBaseClass{
public string name => "java.util.concurrent.TimeUnit";
}
public class TimeUnit :HmsClass<TimeUnit_Data>
{
public static TimeUnit NANOSECONDS => HmsUtil.GetStaticValue<TimeUnit>("NANOSECONDS");
public static TimeUnit MICROSECONDS => HmsUtil.GetStaticValue<TimeUnit>("MICROSECONDS");
public static TimeUnit MILLISECONDS => HmsUtil.GetStaticValue<TimeUnit>("MILLISECONDS");
public static TimeUnit SECONDS => HmsUtil.GetStaticValue<TimeUnit>("SECONDS");
public static TimeUnit MINUTES => HmsUtil.GetStaticValue<TimeUnit>("MINUTES");
public static TimeUnit HOURS => HmsUtil.GetStaticValue<TimeUnit>("HOURS");
public static TimeUnit DAYS => HmsUtil.GetStaticValue<TimeUnit>("DAYS");
public TimeUnit (): base() { }
}
}