#if UNITY_EDITOR using System; using Azerion.BlueStack.API; using Azerion.BlueStack.Internal; namespace Azerion.BlueStack.Platforms.UnityEditor { public class PreferenceClient : IPreferenceClient, IDisposable { private int _age; private Location _location; private int _consentFlag; private string _language; private Gender _gender; private string _keyword; private string _contentUrl; public void SetAge(int age) { this._age = age; } public void SetLocation(Location location, int consentFlag) { this._location = location; this._consentFlag = consentFlag; } public void SetLanguage(string language) { this._language = language; } public void SetGender(Gender gender) { this._gender = gender; } public void SetKeyword(string keyword) { this._keyword = keyword; } public void SetContentUrl(string contentUrl) { this._contentUrl = contentUrl; } public void Destroy() { this._age = -1; this._location = null; this._consentFlag = -1; this._language = null; this._gender = Gender.Unknown; this._keyword = null; this._contentUrl = null; } public void Dispose() { } } } #endif