public class POBNativeAdImageResponseAsset extends POBNativeAdResponseAsset
| Constructor and Description |
|---|
POBNativeAdImageResponseAsset(int assetId,
boolean required,
POBNativeAdLinkResponse link,
java.lang.String imageURL,
int width,
int height,
com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType type)
Creates the instance of the class which stores the data passed in image object of response
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Returns the height of the image asset
|
java.lang.String |
getImageURL()
Returns the url for the image asset
|
com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType |
getType()
Returns the type of the image asset (refer
POBNativeImageAssetType) |
int |
getWidth()
Returns the width of the image asset
|
java.lang.String |
toString()
Converts the object to a readable string
|
getAssetId, getLink, isRequiredpublic POBNativeAdImageResponseAsset(int assetId,
boolean required,
@Nullable
POBNativeAdLinkResponse link,
@NonNull
java.lang.String imageURL,
int width,
int height,
@Nullable
com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType type)
width - Integerheight - IntegerimageURL - String (required)type - POBNativeImageAssetTypeassetId - Integer (required)required - Booleanlink - POBNativeAdLinkResponse@NonNull public java.lang.String getImageURL()
public int getWidth()
public int getHeight()
@Nullable public com.pubmatic.sdk.openwrap.core.nativead.POBNativeImageAssetType getType()
POBNativeImageAssetType)POBNativeImageAssetType@NonNull public java.lang.String toString()
toString in class POBNativeAdResponseAsset