public class POBNativeRequestImageAsset extends POBBaseNativeRequestAsset
| Constructor and Description |
|---|
POBNativeRequestImageAsset(int id,
boolean required,
com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType type,
int minimumWidth,
int minimumHeight)
Helps to create the POBNativeRequestImageAsset object
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getMimes()
Getter for mimes
|
int |
getMinimumHeight()
Getter for minimum height
|
int |
getMinimumWidth()
Getter for minimum width
|
org.json.JSONObject |
getRTBJSON()
Convert the asset object to JSONObject
|
com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType |
getType()
Getter for image asset type
|
void |
setMimes(java.util.List<java.lang.String> mimes)
Setter of Mimes type list
|
getId, isRequiredpublic POBNativeRequestImageAsset(int id,
boolean required,
@NonNull
com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType type,
int minimumWidth,
int minimumHeight)
id - of native requestrequired - indicates if the asset is required to be displayedtype - of imageminimumWidth - of image in pixelsminimumHeight - of image in pixelspublic void setMimes(@NonNull
java.util.List<java.lang.String> mimes)
mimes - list of string@NonNull public com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType getType()
public int getMinimumWidth()
public int getMinimumHeight()
@NonNull public java.util.List<java.lang.String> getMimes()
@NonNull public org.json.JSONObject getRTBJSON()
POBBaseNativeRequestAssetgetRTBJSON in class POBBaseNativeRequestAsset