java.lang.Object | |
↳ | com.google.android.gms.ads.formats.NativeAdOptions.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a
NativeAdOptions object with the specified attributes.
| |||||||||||
Sets the orientation in which image should be returned.
| |||||||||||
Sets whether multiple images should be requested or not.
| |||||||||||
Sets whether URLs alone should be returned for image assets.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Sets the orientation in which image should be returned. Default value is NativeAdOptions.ORIENTATION_ANY.
Sets whether multiple images should be requested or not. Default value is false.
Sets whether URLs alone should be returned for image assets. If true, the SDK will not
download image assets and instead return a NativeAd.Image
with just the URI and
Scale properties populated. If false, the SDK will automatically download image assets
and return a NativeAd.Image
with all three properties (URI, Scale, and Drawable)
populated. The default value is false.