public static GdprConsent GetCustomConsent() { GdprConsent result = null; #if UNITY_ANDROID && !UNITY_EDITOR if (Application.platform == RuntimePlatform.Android) { result = ConsentWrapperAndroid.Instance.GetCustomGdprConsent(); } #elif UNITY_IOS && !UNITY_EDITOR_OSX if (Application.platform == RuntimePlatform.IPhonePlayer) { result = ConsentWrapperIOS.Instance.GetCustomGdprConsent(); } #endif return(result); }
public SpGdprConsent(/* bool applies, */ GdprConsent consents) { // this.applies = applies; this.consents = consents; }