[M] sync n3

This commit is contained in:
2024-12-09 16:54:19 +08:00
parent c90bbe86e7
commit 05331e6286
845 changed files with 6138 additions and 1307 deletions

View File

@@ -171,33 +171,6 @@ public class MaxSdkAndroid : MaxSdkBase
return MaxUnityPluginClass.CallStatic<bool>("isUserConsentSet");
}
/// <summary>
/// Mark user as age restricted (i.e. under 16).
/// </summary>
/// <param name="isAgeRestrictedUser"><c>true</c> if the user is age restricted (i.e. under 16).</param>
public static void SetIsAgeRestrictedUser(bool isAgeRestrictedUser)
{
MaxUnityPluginClass.CallStatic("setIsAgeRestrictedUser", isAgeRestrictedUser);
}
/// <summary>
/// Check if user is age restricted.
/// </summary>
/// <returns><c>true</c> if the user is age-restricted. <c>false</c> if the user is not age-restricted or the age-restriction has not been set<see cref="IsAgeRestrictedUserSet">.</returns>
public static bool IsAgeRestrictedUser()
{
return MaxUnityPluginClass.CallStatic<bool>("isAgeRestrictedUser");
}
/// <summary>
/// Check if the user has set its age restricted settings.
/// </summary>
/// <returns><c>true</c> if the user has set its age restricted settings.</returns>
public static bool IsAgeRestrictedUserSet()
{
return MaxUnityPluginClass.CallStatic<bool>("isAgeRestrictedUserSet");
}
/// <summary>
/// Set whether or not user has opted out of the sale of their personal information.
/// </summary>