//Set the user's gender for targeting purposes. This should be GADGenger.GENDER_MALE, GADGenger.GENDER_FEMALE, or GADGenger.GENDER_UNKNOWN public static void SetGender(GoogleGender gender) { if (!_IsInited) { Debug.LogWarning("SetGender shoudl be called only after Init function. Call ignored"); return; } controller.SetGender(gender); }
//Set the user's gender for targeting purposes. This should be GADGenger.GENDER_MALE, GADGenger.GENDER_FEMALE, or GADGenger.GENDER_UNKNOWN public void SetGender(GoogleGender gender) { if (!_IsInited) { Debug.LogWarning("SetGender shoudl be called only after Init function. Call ignored"); return; } AN_GoogleAdProxy.SetGender((int)gender); }
//Set the user's gender for targeting purposes. This should be GADGenger.GENDER_MALE, GADGenger.GENDER_FEMALE, or GADGenger.GENDER_UNKNOWN public void SetGender(GoogleGender gender) { if (!IsInited) { Debug.LogWarning("SetGender shoudl be called only after Init function. Call ignored"); return; } #if (UNITY_IPHONE && !UNITY_EDITOR && !CODE_DISABLED) || SA_DEBUG_MODE _GADSetGender((int)gender); #endif }
//Set the user's gender for targeting purposes. This should be GADGenger.GENDER_MALE, GADGenger.GENDER_FEMALE, or GADGenger.GENDER_UNKNOWN public void SetGender(GoogleGender gender) { if (!IsInited) { Debug.LogWarning("SetGender shoudl be called only after Init function. Call ignored"); return; } #if (UNITY_WP8 && !UNITY_EDITOR) || SA_DEBUG_MODE AdManager.instance.SetGender((int)gender); #endif }
public void InitializeData(IDictionary JSON) { if(JSON.Contains("id")) { _id = System.Convert.ToString(JSON["id"]); } if(JSON.Contains("name")) { _name = System.Convert.ToString(JSON["name"]); } if(JSON.Contains("first_name")) { _first_name = System.Convert.ToString(JSON["first_name"]); } if(JSON.Contains("last_name")) { _last_name = System.Convert.ToString(JSON["last_name"]); } if(JSON.Contains("username")) { _username = System.Convert.ToString(JSON["username"]); } if(JSON.Contains("link")) { _profile_url = System.Convert.ToString(JSON["link"]); } if(JSON.Contains("email")) { _email = System.Convert.ToString(JSON["email"]); } if(JSON.Contains("locale")) { _locale = System.Convert.ToString(JSON["locale"]); } if(JSON.Contains("location")) { IDictionary loc = JSON["location"] as IDictionary; _location = System.Convert.ToString(loc["name"]); } if(JSON.Contains("gender")) { string g = System.Convert.ToString(JSON["gender"]); if(g.Equals("male")) { _gender = GoogleGender.Male; } else { _gender = GoogleGender.Female; } } }
//Set the user's gender for targeting purposes. This should be GADGenger.GENDER_MALE, GADGenger.GENDER_FEMALE, or GADGenger.GENDER_UNKNOWN public static void SetGender(GoogleGender gender) { if(!_IsInited) { Debug.LogWarning ("SetGender shoudl be called only after Init function. Call ignored"); return; } controller.SetGender(gender); }
public void InitializeData(IDictionary JSON) { if (JSON.Contains("id")) { _id = System.Convert.ToString(JSON["id"]); } if (JSON.Contains("name")) { _name = System.Convert.ToString(JSON["name"]); } if (JSON.Contains("first_name")) { _first_name = System.Convert.ToString(JSON["first_name"]); } if (JSON.Contains("last_name")) { _last_name = System.Convert.ToString(JSON["last_name"]); } if (JSON.Contains("username")) { _username = System.Convert.ToString(JSON["username"]); } if (JSON.Contains("link")) { _profile_url = System.Convert.ToString(JSON["link"]); } if (JSON.Contains("email")) { _email = System.Convert.ToString(JSON["email"]); } if (JSON.Contains("locale")) { _locale = System.Convert.ToString(JSON["locale"]); } if (JSON.Contains("location")) { IDictionary loc = JSON["location"] as IDictionary; _location = System.Convert.ToString(loc["name"]); } if (JSON.Contains("gender")) { string g = System.Convert.ToString(JSON["gender"]); if (g.Equals("male")) { _gender = GoogleGender.Male; } else { _gender = GoogleGender.Female; } } }