public class POBNativeAdResponseAsset
extends java.lang.Object
| Constructor and Description |
|---|
POBNativeAdResponseAsset(int assetId,
boolean required,
POBNativeAdLinkResponse link)
Creates an instance of the class which stores the common properties of the objects in the assets
i.e
POBNativeAdDataResponseAsset, POBNativeAdImageResponseAsset, POBNativeAdTitleResponseAsset |
| Modifier and Type | Method and Description |
|---|---|
int |
getAssetId()
Returns the id of the asset
|
POBNativeAdLinkResponse |
getLink()
Returns the link object containing the click link & 3rd party trackers
|
boolean |
isRequired()
Return whether bidder requires it to be displayed
|
java.lang.String |
toString()
Converts the object to a readable string
|
public POBNativeAdResponseAsset(int assetId,
boolean required,
@Nullable
POBNativeAdLinkResponse link)
POBNativeAdDataResponseAsset, POBNativeAdImageResponseAsset, POBNativeAdTitleResponseAssetassetId - Integerrequired - Booleanlink - POBNativeAdLinkResponsepublic int getAssetId()
public boolean isRequired()
@Nullable public POBNativeAdLinkResponse getLink()
POBNativeAdLinkResponse@NonNull public java.lang.String toString()
toString in class java.lang.Object