コード例 #1
0
        internal async void GetConfig()
        {
            try
            {
                await LoadAdSettings();
            }
            catch { }

            if (_settings != null && _settings.CultureDescriptors.Count() > 0)
            {
                //Set Current culture based on Culture Value
                _settings.GetAdDescriptorBasedOnUICulture(culture);
            }
            if (adRotatorRefreshInterval == 0)
            {
                OnAdAvailable(_settings.GetAd());
            }
        }
コード例 #2
0
        internal async void GetConfig()
        {
            try
            {
                if (_settings == null)
                {
                    await LoadAdSettings();
                }
            }
            catch { }

            if (_settings != null && _settings.CultureDescriptors.Count() > 0)
            {
                //Set Current culture based on Culture Value
                _settings.GetAdDescriptorBasedOnUICulture(culture);
            }
            OnAdAvailable(_settings.GetAd(adMode));
        }