Class Info |
|---|
public class NativeAdConfiguration extends Object Ad configuration. |
Qualifier and Type | Class Name and Description |
|---|---|
static final class | Builder for native ad configuration. |
static interface | NativeAdConfiguration.ChoicesPosition Ad choice icon position constants. |
static interface | NativeAdConfiguration.Direction Image orientation constants. |
static interface | NativeAdConfiguration.MediaAspect Constants of the image aspect ratio. |
Qualifier and Type | Method Name and Description |
|---|---|
| Obtains the dimensions of the requested ad. | |
int | Obtains the ad choice icon position. |
int | Obtains the aspect ratio of an ad image. |
int | Obtains the orientation of an ad image. |
| Obtains video configuration. | |
boolean | Checks whether multiple ad images are requested. |
boolean | Checks whether to allow the SDK to download native ad images. |
Method |
|---|
public final AdSize getAdSize() Obtains the dimensions of the requested ad. |
Returns
Type | Description |
|---|---|
Ad dimensions. |
Method |
|---|
public final int getChoicesPosition() Obtains the ad choice icon position. |
Returns
Type | Description |
|---|---|
int | Ad choice icon position. |
Method |
|---|
public final int getMediaAspect() Obtains the aspect ratio of an ad image. |
Returns
Type | Description |
|---|---|
int | Aspect ratio of an ad image. |
Method |
|---|
public final int getMediaDirection() Obtains the orientation of an ad image. |
Returns
Type | Description |
|---|---|
int | Image orientation. |
Method |
|---|
public final VideoConfiguration getVideoConfiguration() Obtains video configuration. |
Returns
Type | Description |
|---|---|
Video configuration. |