您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
25 行
794 B
25 行
794 B
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HuaweiService.ads
|
|
{
|
|
public class Consent_Data : IHmsBaseClass{
|
|
public string name => "com.huawei.hms.ads.consent.inter.Consent";
|
|
}
|
|
public class Consent :HmsClass<Consent_Data>
|
|
{
|
|
public Consent (): base() { }
|
|
public static Consent getInstance(Context arg0) {
|
|
return CallStatic<Consent>("getInstance", arg0);
|
|
}
|
|
public void setUnderAgeOfPromise(bool arg0) {
|
|
Call("setUnderAgeOfPromise", arg0);
|
|
}
|
|
public void requestConsentUpdate(ConsentUpdateListener arg0) {
|
|
Call("requestConsentUpdate", arg0);
|
|
}
|
|
public void setConsentStatus(ConsentStatus arg0) {
|
|
Call("setConsentStatus", arg0);
|
|
}
|
|
}
|
|
}
|