public static enum DeviceThrift._Fields extends Enum<DeviceThrift._Fields> implements TFieldIdEnum
| Enum Constant and Description |
|---|
CARRIER
Carrier or ISP derived from the IP address.
|
CONNECTIONTYPE
Return the detected data connection type for the device.
|
DEVICETYPE
Return the device type being used.
|
DIDMD5
MD5 hashed device ID; IMEI when available, else MEID or ESN.
|
DIDSHA1
SHA1 hashed device ID; IMEI when available, else MEID or ESN.
|
DNT
If “0”, then do not track Is set to false, if “1”, then do no track is set to true in browser.
|
DPIDMD5
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
DPIDSHA1
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
FLASHVER
Return the Flash version detected.
|
GEO
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
IFA
Native identifier for advertisers; an opaque ID assigned by the device or browser for use as an advertising identifier.
|
IP
IPv4 address closest to device.
|
IPV6
IP address in IPv6.
|
JS
“1” if the device supports JavaScript; else “0”.
|
LANGUAGE
Browser language; use alpha-2/ISO 639-1 codes.
|
MACMD5
MD5 hashed MAC address of the device.
|
MACSHA1
SHA1 hashed MAC address of the device.
|
MAKE
Device make (e.g., “Apple”).
|
MODEL
Device model (e.g., “iPhone”).
|
OS
Device operating system (e.g., “iOS”).
|
OSV
Device operating system version (e.g., “3.1.2”).
|
UA
Browser user agent string.
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceThrift._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static DeviceThrift._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static DeviceThrift._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static DeviceThrift._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceThrift._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceThrift._Fields DNT
public static final DeviceThrift._Fields UA
public static final DeviceThrift._Fields IP
public static final DeviceThrift._Fields GEO
public static final DeviceThrift._Fields DIDSHA1
public static final DeviceThrift._Fields DIDMD5
public static final DeviceThrift._Fields DPIDSHA1
public static final DeviceThrift._Fields DPIDMD5
public static final DeviceThrift._Fields MACSHA1
public static final DeviceThrift._Fields MACMD5
public static final DeviceThrift._Fields IPV6
public static final DeviceThrift._Fields CARRIER
public static final DeviceThrift._Fields LANGUAGE
public static final DeviceThrift._Fields MAKE
public static final DeviceThrift._Fields MODEL
public static final DeviceThrift._Fields OS
public static final DeviceThrift._Fields OSV
public static final DeviceThrift._Fields JS
public static final DeviceThrift._Fields CONNECTIONTYPE
public static final DeviceThrift._Fields DEVICETYPE
public static final DeviceThrift._Fields FLASHVER
public static final DeviceThrift._Fields IFA
public static DeviceThrift._Fields[] values()
for (DeviceThrift._Fields c : DeviceThrift._Fields.values()) System.out.println(c);
public static DeviceThrift._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 DeviceThrift._Fields findByThriftId(int fieldId)
public static DeviceThrift._Fields findByThriftIdOrThrow(int fieldId)
public static DeviceThrift._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.