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

58 行
3.1 KiB

using UnityEngine;
using System.Collections.Generic;
namespace HuaweiService.analytic
{
public class HAEventType
{
public const string CREATEPAYMENTINFO = "$CreatePaymentInfo";
public const string ADDPRODUCT2CART = "$AddProduct2Cart";
public const string ADDPRODUCT2WISHLIST = "$AddProduct2WishList";
public const string STARTAPP = "$StartApp";
public const string STARTCHECKOUT = "$StartCheckout";
public const string VIEWCAMPAIGN = "$ViewCampaign";
public const string VIEWCHECKOUTSTEP = "$ViewCheckoutStep";
public const string WINVIRTUALCOIN = "$WinVirtualCoin";
public const string COMPLETEPURCHASE = "$CompletePurchase";
public const string OBTAINLEADS = "$ObtainLeads";
public const string JOINUSERGROUP = "$JoinUserGroup";
public const string COMPLETELEVEL = "$CompleteLevel";
public const string STARTLEVEL = "$StartLevel";
public const string UPGRADELEVEL = "$UpgradeLevel";
public const string SIGNIN = "$SignIn";
public const string SIGNOUT = "$SignOut";
public const string SUBMITSCORE = "$SubmitScore";
public const string CREATEORDER = "$CreateOrder";
public const string REFUNDORDER = "$RefundOrder";
public const string DELPRODUCTFROMCART = "$DelProductFromCart";
public const string SEARCH = "$Search";
public const string VIEWCONTENT = "$ViewContent";
public const string UPDATECHECKOUTOPTION = "$UpdateCheckoutOption";
public const string SHARECONTENT = "$ShareContent";
public const string REGISTERACCOUNT = "$RegisterAccount";
public const string CONSUMEVIRTUALCOIN = "$ConsumeVirtualCoin";
public const string STARTTUTORIAL = "$StartTutorial";
public const string COMPLETETUTORIAL = "$CompleteTutorial";
public const string OBTAINACHIEVEMENT = "$ObtainAchievement";
public const string VIEWPRODUCT = "$ViewProduct";
public const string VIEWPRODUCTLIST = "$ViewProductList";
public const string VIEWSEARCHRESULT = "$ViewSearchResult";
public const string UPDATEMEMBERSHIPLEVEL = "$UpdateMembershipLevel";
public const string FILTRATEPRODUCT = "$FiltrateProduct";
public const string VIEWCATEGORY = "$ViewCategory";
public const string UPDATEORDER = "$UpdateOrder";
public const string CANCELORDER = "$CancelOrder";
public const string COMPLETEORDER = "$CompleteOrder";
public const string CANCELCHECKOUT = "$CancelCheckout";
public const string OBTAINVOUCHER = "$ObtainVoucher";
public const string CONTACTCUSTOMSERVICE = "$ContactCustomService";
public const string RATE = "$Rate";
public const string INVITE = "$Invite";
public const string NOVICEGUIDESTART = "$NoviceGuideStart";
public const string NOVICEGUIDEEND = "$NoviceGuideEnd";
public const string STARTGAME = "$StartGame";
public const string ENDGAME = "$EndGame";
public const string WINPROPS = "$WinProps";
public const string CONSUMEPROPS = "$ConsumeProps";
}
}