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

21 行
784 B

using UnityEngine;
using System.Collections.Generic;
namespace HuaweiService
{
public class PendingIntent_Data : IHmsBaseClass{
public string name => "android.app.PendingIntent";
}
public class PendingIntent :HmsClass<PendingIntent_Data>
{
public const int FLAG_CANCEL_CURRENT = 268435456;
public const int FLAG_IMMUTABLE = 67108864;
public const int FLAG_NO_CREATE = 536870912;
public const int FLAG_ONE_SHOT = 1073741824;
public const int FLAG_UPDATE_CURRENT = 134217728;
public PendingIntent (): base() { }
public static PendingIntent getBroadcast(Context arg0, int arg1, Intent arg2, int arg3) {
return CallStatic<PendingIntent>("getBroadcast", arg0, arg1, arg2, arg3);
}
}
}