public static enum AppThrift._Fields extends Enum<AppThrift._Fields> implements TFieldIdEnum
| Enum Constant and Description |
|---|
BUNDLE
Application bundle or package name (e.g., com.foo.mygame).
|
CAT
Array of IAB content categories for the overall application.
|
CONTENT
See Content Object.
|
DOMAIN
Domain of the application (e.g., “mygame.foo.com”).
|
ID
Application ID on the exchange.
|
KEYWORDS
List of keywords describing this app in a comma separated string.
|
NAME
Application name (may be masked at publisher’s request).
|
PAGECAT
Array of IAB content categories for the current page/view of the app.
|
PAID
“1” if the application is a paid version; else “0” (i.e., free).
|
PRIVACYPOLICY
Specifies whether the app has a privacy policy.
|
PUBLISHER
See Publisher Object.
|
SECTIONCAT
Array of IAB content categories for the current subsection of the app.
|
STOREURL
For QAG 1.5 compliance, an app store URL for an installed app should be passed in the bid request.
|
VER
Application version.
|
| Modifier and Type | Method and Description |
|---|---|
static AppThrift._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static AppThrift._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static AppThrift._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static AppThrift._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppThrift._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppThrift._Fields ID
public static final AppThrift._Fields NAME
public static final AppThrift._Fields DOMAIN
public static final AppThrift._Fields CAT
public static final AppThrift._Fields SECTIONCAT
public static final AppThrift._Fields PAGECAT
public static final AppThrift._Fields VER
public static final AppThrift._Fields BUNDLE
public static final AppThrift._Fields PRIVACYPOLICY
public static final AppThrift._Fields PAID
public static final AppThrift._Fields PUBLISHER
public static final AppThrift._Fields CONTENT
public static final AppThrift._Fields KEYWORDS
public static final AppThrift._Fields STOREURL
public static AppThrift._Fields[] values()
for (AppThrift._Fields c : AppThrift._Fields.values()) System.out.println(c);
public static AppThrift._Fields valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AppThrift._Fields findByThriftId(int fieldId)
public static AppThrift._Fields findByThriftIdOrThrow(int fieldId)
public static AppThrift._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId in interface TFieldIdEnumpublic String getFieldName()
getFieldName in interface TFieldIdEnumCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.