@Deprecated
public class AdChoicesView
extends RelativeLayout
AdOptionsView
instead.
An expandable, clickable ad choices icon. Can be added to a custom NativeAd view to signify ad
content.
AdChoicesView can be declared and added to view:
AdChoicesView adChoicesView = new AdChoicesView(context, nativeAdBase);
addView(adView);
Constructor and Description |
---|
AdChoicesView(Context c,
NativeAdBase ad)
Deprecated.
|
AdChoicesView(Context c,
NativeAdBase ad,
boolean expandableIcon)
Deprecated.
|
AdChoicesView(Context c,
NativeAdBase ad,
boolean expandableIcon,
NativeAdLayout nativeAdLayout)
Deprecated.
|
AdChoicesView(Context c,
NativeAdBase ad,
NativeAdLayout nativeAdLayout)
Deprecated.
|
@Deprecated public AdChoicesView(Context c, NativeAdBase ad)
AdChoicesView(Context, NativeAdBase, boolean, NativeAdLayout)
instead.@Deprecated public AdChoicesView(Context c, NativeAdBase ad, NativeAdLayout nativeAdLayout)
c
- The application contextad
- The Native AdnativeAdLayout
- The NativeAdLayout
that contains your ad. We will render the
ad reporting menu on top of this View if possible.@Deprecated public AdChoicesView(Context c, NativeAdBase ad, boolean expandableIcon)
AdChoicesView(Context, NativeAdBase, boolean, NativeAdLayout)
instead.@Deprecated public AdChoicesView(Context c, NativeAdBase ad, boolean expandableIcon, NativeAdLayout nativeAdLayout)
c
- The application contextad
- The Native AdexpandableIcon
- Whether you want to use an expandable icon that animates when tapped.nativeAdLayout
- The NativeAdLayout
that contains your ad. We will render the
ad reporting menu on top of this View if possible.