public enum POBNativeDataAssetType extends java.lang.Enum<POBNativeDataAssetType>
| Enum Constant and Description |
|---|
ADDRESS
Address
|
CTA_TEXT
CTA text - descriptive text describing a ‘call to action’ button
for the destination URL.
|
DESCRIPTION
Descriptive text associated with the product or service being advertised.
|
DESCRIPTION2
Additional descriptive text associated
with the product or service being
advertised
|
DISPLAY_URL
Display URL for the text ad.
|
DOWNLOADS
Number downloads/installs of this product
|
LIKES
Number of social ratings or “likes” of the product being offered to the user.
|
PHONE
Phone Number
|
PRICE
Price for product / app / in-app purchase.
|
RATING
Rating of the product being offered to the user.
|
SALESPRICE
Sale price that can be used together with price to indicate a discounted
price compared to a regular price.
|
SPONSORED
Sponsored By message where response should contain the brand name of the sponsor
|
| Modifier and Type | Method and Description |
|---|---|
static POBNativeDataAssetType |
getDataAssetType(int type)
Method used to get the enum value for the appropriate integer value
|
int |
getDataAssetTypeValue()
Returns the integer representation of data asset type.
|
static POBNativeDataAssetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static POBNativeDataAssetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POBNativeDataAssetType SPONSORED
public static final POBNativeDataAssetType DESCRIPTION
public static final POBNativeDataAssetType RATING
public static final POBNativeDataAssetType LIKES
public static final POBNativeDataAssetType DOWNLOADS
public static final POBNativeDataAssetType PRICE
public static final POBNativeDataAssetType SALESPRICE
public static final POBNativeDataAssetType PHONE
public static final POBNativeDataAssetType ADDRESS
public static final POBNativeDataAssetType DESCRIPTION2
public static final POBNativeDataAssetType DISPLAY_URL
public static final POBNativeDataAssetType CTA_TEXT
public static POBNativeDataAssetType[] values()
for (POBNativeDataAssetType c : POBNativeDataAssetType.values()) System.out.println(c);
public static POBNativeDataAssetType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getDataAssetTypeValue()
@Nullable public static POBNativeDataAssetType getDataAssetType(int type)
type - Integer - the type of the data passed in the response.POBNativeDataAssetType