Class POBNativeAdResponseAsset
-
- All Implemented Interfaces:
public class POBNativeAdResponseAssetMain class for the assets in the native response, selection of the ad will be done on the basis of the assetId
-
-
Field Summary
Fields Modifier and Type Field Description public final intassetIdpublic final POBNativeAdLinkResponselink
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
Modifier and Type Method Description intgetAssetId()Returns the id of the asset POBNativeAdLinkResponsegetLink()Returns the link object containing the click link &3rd party trackers booleanisRequired()Return whether bidder requires it to be displayed StringtoString()Converts the object to a readable string -
-
Constructor Detail
-
POBNativeAdResponseAsset
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.- Parameters:
assetId- Integerrequired- Booleanlink- POBNativeAdLinkResponse
-
-
Method Detail
-
getAssetId
int getAssetId()
Returns the id of the asset
- Returns:
Integer
-
getLink
@Nullable() POBNativeAdLinkResponse getLink()
Returns the link object containing the click link &3rd party trackers
- Returns:
-
isRequired
boolean isRequired()
Return whether bidder requires it to be displayed
- Returns:
Boolean
-
-
-
-