Page tree


com.pubmatic.sdk.nativead.bean

Class PMNativeImageAssetResponse

java.lang.Object
    com.pubmatic.sdk.nativead.bean.PMNativeAssetResponse
        com.pubmatic.sdk.nativead.bean.PMNativeImageAssetResponse

public class PMNativeImageAssetResponse
extends PMNativeAssetResponse

Field Summary

Modifier and TypeField and Description
PMNativeAd.Image image Image Asset
PMNativeImageAssetTypes imageType Image Type (Optional in response)

Fields inherited from class com.pubmatic.sdk.nativead.bean.PMNativeAssetResponse


assetId

Constructor Summary

Constructor and Description
PMNativeImageAssetResponse()

Method Summary

Modifier and TypeMethod and Description
PMNativeAd.Image getImage()
PMNativeImageAssetTypes getImageType() Image type is only available in case of mediation response
void setImage(PMNativeAd.Image image)
void setImageType(PMNativeImageAssetTypes imageType)

Methods inherited from class com.pubmatic.sdk.nativead.bean.PMNativeAssetResponse


setAssetId

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, tostring, wait, wait, wait

Field Detail


image

public PMNativeAd.Image image

Image Asset

imageType

public PMNativeImageAssetTypes imageType

Image Type (Optional in response)

Constructor Detail


PMNativeImageAssetResponse

public PMNativeImageAssetResponse()

Method Detail


getImage

public PMNativeAd.Image getImage()

setImage

public void setImage(PMNativeAd.Image image)

getImageType

public PMNativeImageAssetTypes getImageType()

Image type is only available in case of mediation response

Returns:
Type of image asset

setImageType

public void setImageType(PMNativeImageAssetTypes imageType)


⇧ Top