public final class NativeAdLoaderConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NativeAdLoaderConfiguration.Builder
Builds a
NativeAdLoaderConfiguration . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NATIVE_IMAGE_SIZE_LARGE
Large image size.
|
static java.lang.String |
NATIVE_IMAGE_SIZE_MEDIUM
Medium image size.
|
static java.lang.String |
NATIVE_IMAGE_SIZE_SMALL
Small image size.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBlockId()
Returns the block id.
|
java.lang.String[] |
getImageSizes()
Returns sizes of images determined in native ad loader configuration.
|
boolean |
shouldLoadImagesAutomatically()
Returns
true if ad images should be loaded as a part of ad loading process. |
public static final java.lang.String NATIVE_IMAGE_SIZE_SMALL
public static final java.lang.String NATIVE_IMAGE_SIZE_MEDIUM
public static final java.lang.String NATIVE_IMAGE_SIZE_LARGE
public java.lang.String getBlockId()
public java.lang.String[] getImageSizes()
public boolean shouldLoadImagesAutomatically()
true
if ad images should be loaded as a part of ad loading process.true
if ad images should be loaded automatically, otherwise returns false
.