Class POBNativeRequestDataAsset
-
- All Implemented Interfaces:
public class POBNativeRequestDataAsset extends POBBaseNativeRequestAsset
This class represents the data object passed in the asset object
-
-
Constructor Summary
Constructors Constructor Description POBNativeRequestDataAsset(int id, boolean required, POBNativeDataAssetType type)Helps to create the POBNativeRequestDataAsset object
-
Method Summary
Modifier and Type Method Description POBNativeDataAssetTypegetType()Getter for the type intgetLength()Getter for the length voidsetLength(intĀ length)Setter for the length JSONObjectgetRTBJSON()-
-
Method Detail
-
getType
@NonNull() POBNativeDataAssetType getType()
Getter for the type
- Returns:
type of the data asset
-
getLength
int getLength()
Getter for the length
- Returns:
length of data's value
-
setLength
void setLength(intĀ length)
Setter for the length
- Parameters:
length- of the text
-
getRTBJSON
@NonNull() JSONObject getRTBJSON()
- Returns:
JSON of format: { "id":126, "required":1, "data":{ "type":1, "len":25 } }
-
-
-
-