public class POBNativeRequestTitleAsset extends POBBaseNativeRequestAsset
| Constructor and Description |
|---|
POBNativeRequestTitleAsset(int id,
boolean required,
int length)
Helps to create POBNativeRequestTitleAsset object
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Getter for length of the text
|
org.json.JSONObject |
getRTBJSON()
Convert the asset object to JSONObject
|
getId, isRequiredpublic POBNativeRequestTitleAsset(int id,
boolean required,
int length)
id - of native requestrequired - indicates if the asset is required to be displayedlength - of textpublic int getLength()
@NonNull public org.json.JSONObject getRTBJSON()
POBBaseNativeRequestAssetgetRTBJSON in class POBBaseNativeRequestAsset