Android SDK Version
  • java.lang.Object
    • RelativeLayout
      • com.facebook.ads.AdChoicesView

Deprecated. 
since 5.1
@Deprecated
public class AdChoicesView
extends RelativeLayout
Please use 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); 
Since:
4.6
Constructor Summary
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. 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

AdChoicesView

@Deprecated
public AdChoicesView(Context c,
                                 NativeAdBase ad)
Deprecated. 
Since:
4.6

AdChoicesView

@Deprecated
public AdChoicesView(Context c,
                                 NativeAdBase ad,
                                 NativeAdLayout nativeAdLayout)
Deprecated. 
Initializes the AdChoicesView
Parameters:
c - The application context
ad - The Native Ad
nativeAdLayout - The NativeAdLayout that contains your ad. We will render the ad reporting menu on top of this View if possible.

AdChoicesView

@Deprecated
public AdChoicesView(Context c,
                                 NativeAdBase ad,
                                 boolean expandableIcon)
Deprecated. 
Since:
4.6

AdChoicesView

@Deprecated
public AdChoicesView(Context c,
                                 NativeAdBase ad,
                                 boolean expandableIcon,
                                 NativeAdLayout nativeAdLayout)
Deprecated. 
Initializes the AdChoicesView
Parameters:
c - The application context
ad - The Native Ad
expandableIcon - 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.