我可以使用AdControl.Suspend()方法并将可见性更改为折叠吗? [英] Can I use AdControl.Suspend() method and change visibility to collapsed?

查看:62
本文介绍了我可以使用AdControl.Suspend()方法并将可见性更改为折叠吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现的唯一内容是b


  1. 做任何事情干扰用户查看横幅广告的能力,例如更改横幅广告AdControl的不透明度或在AdControl上放置另一个控件(没有先调用AdControl.Suspend。)
  2. 您的应用可能无法做任何干扰或降低可见性,值的内容或者它显示的任何广告的质量。



我想通过按ToggleButton让用户选择隐藏广告。



  私人无效SettingsButton_HideAdsButtonChecked(对象发件人,RoutedEventArgs E)

     {

  &NBSP ;    bottomBanner.Visibility = Visibility.Visible;

       bottomBanner.Resume();

  ;   }
$


     private void SettingsButton_HideAdsButtonUnchecked(obj ect sender,RoutedEventArgs e)

        {

            bottomBanner.Suspend();

            bottomBanner.Visibility = Visibility.Collapsed;

        }

解决方案


由于问题与ADcontrol有关,我会帮助您将此主题移至 AdSDK Integration&广告调解论坛。你可以在那里变得更专业。


祝你好运,


Roy



The only things that I found are

 1. Doing anything to interfere with the user’s ability to view the banner ad, such as changing the opacity of the AdControl or placing another control on top of the AdControl (without first calling AdControl.Suspend.
 2. Your app may not do anything that interferes with or diminishes the visibility, value, or quality of any ads it displays.

I want to give users the option to hide ads by pressing a ToggleButton.

    private void SettingsButton_HideAdsButtonChecked(object sender, RoutedEventArgs e)
        {
            bottomBanner.Visibility = Visibility.Visible;
            bottomBanner.Resume();
        }

        private void SettingsButton_HideAdsButtonUnchecked(object sender, RoutedEventArgs e)
        {
            bottomBanner.Suspend();
            bottomBanner.Visibility = Visibility.Collapsed;
        }

解决方案

Hi,

Since the problem is more related to ADcontrol, I'll help you to move this thread to AdSDK Integration & Ad Mediation Forum. You could get more professional there.

Best regards,

Roy


这篇关于我可以使用AdControl.Suspend()方法并将可见性更改为折叠吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆