Used to configure native ad requests.
| @interface | NativeAdOptions.AdChoicesPlacement | AdChoices icon placement. | |
| class | NativeAdOptions.Builder | Builder class for NativeAdOptions. |
|
| @interface | NativeAdOptions.NativeMediaAspectRatio | Media aspect ratio. | |
| int | ADCHOICES_BOTTOM_LEFT | |
| int | ADCHOICES_BOTTOM_RIGHT | |
| int | ADCHOICES_TOP_LEFT | |
| int | ADCHOICES_TOP_RIGHT | |
| int | NATIVE_MEDIA_ASPECT_RATIO_ANY | |
| int | NATIVE_MEDIA_ASPECT_RATIO_LANDSCAPE | |
| int | NATIVE_MEDIA_ASPECT_RATIO_PORTRAIT | |
| int | NATIVE_MEDIA_ASPECT_RATIO_SQUARE | |
| int | NATIVE_MEDIA_ASPECT_RATIO_UNKNOWN | Unknown media aspect ratio. |
| int |
getAdChoicesPlacement()
Returns the AdChoices placement.
|
| int |
getMediaAspectRatio()
Returns the aspect ratio of the media to be returned.
|
| VideoOptions |
getVideoOptions()
Returns the
VideoOptions
object.
|
| boolean |
shouldRequestMultipleImages()
Returns
true if multiple images are requested.
|
| boolean |
shouldReturnUrlsForImageAssets()
Returns
true if urls will be returned for image assets instead of
images themselves.
|
Unknown media aspect ratio.
Returns the AdChoices placement.
Returns the aspect ratio of the media to be returned.
Returns the VideoOptions
object. Returns null if VideoOptions
is not present.
Returns true if multiple images are requested.
Returns true if urls will be returned for image assets instead of
images themselves.