public class POBNativeAdTitleResponseAsset extends POBNativeAdResponseAsset
| Constructor and Description |
|---|
POBNativeAdTitleResponseAsset(int assetId,
boolean required,
POBNativeAdLinkResponse link,
java.lang.String title,
int length)
Creates the instance of the class which stores the data passed in title object of response
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Returns the length of the title
|
java.lang.String |
getTitle()
Returns the title of the ad
|
java.lang.String |
toString()
Converts the object to a readable string
|
getAssetId, getLink, isRequiredpublic POBNativeAdTitleResponseAsset(int assetId,
boolean required,
@Nullable
POBNativeAdLinkResponse link,
@NonNull
java.lang.String title,
int length)
title - Stringlength - IntegerassetId - Integerrequired - Booleanlink - POBNativeAdLinkResponse@NonNull public java.lang.String getTitle()
public int getLength()
@NonNull public java.lang.String toString()
toString in class POBNativeAdResponseAsset