| Package | Description |
|---|---|
| open_rtb |
| Modifier and Type | Field and Description |
|---|---|
DeviceThrift |
BidRequestThrift.device
See Device Object.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceThrift |
DeviceThrift.deepCopy() |
DeviceThrift |
Device.Thrift.get() |
DeviceThrift |
BidRequestThrift.getDevice()
See Device Object.
|
DeviceThrift |
DeviceThrift.setCarrier(String carrier)
Carrier or ISP derived from the IP address.
|
DeviceThrift |
DeviceThrift.setConnectiontype(short connectiontype)
Return the detected data connection type for the device.
|
DeviceThrift |
DeviceThrift.setDevicetype(short devicetype)
Return the device type being used.
|
DeviceThrift |
DeviceThrift.setDidmd5(String didmd5)
MD5 hashed device ID; IMEI when available, else MEID or ESN.
|
DeviceThrift |
DeviceThrift.setDidsha1(String didsha1)
SHA1 hashed device ID; IMEI when available, else MEID or ESN.
|
DeviceThrift |
DeviceThrift.setDnt(byte dnt)
If “0”, then do not track Is set to false, if “1”, then do no track is set to true in browser.
|
DeviceThrift |
DeviceThrift.setDpidmd5(String dpidmd5)
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
DeviceThrift |
DeviceThrift.setDpidsha1(String dpidsha1)
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
DeviceThrift |
DeviceThrift.setFlashver(String flashver)
Return the Flash version detected.
|
DeviceThrift |
DeviceThrift.setGeo(GeoThrift geo)
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
DeviceThrift |
DeviceThrift.setIfa(String ifa)
Native identifier for advertisers; an opaque ID assigned by the device or browser for use as an advertising identifier.
|
DeviceThrift |
DeviceThrift.setIp(String ip)
IPv4 address closest to device.
|
DeviceThrift |
DeviceThrift.setIpv6(String ipv6)
IP address in IPv6.
|
DeviceThrift |
DeviceThrift.setJs(byte js)
“1” if the device supports JavaScript; else “0”.
|
DeviceThrift |
DeviceThrift.setLanguage(String language)
Browser language; use alpha-2/ISO 639-1 codes.
|
DeviceThrift |
DeviceThrift.setMacmd5(String macmd5)
MD5 hashed MAC address of the device.
|
DeviceThrift |
DeviceThrift.setMacsha1(String macsha1)
SHA1 hashed MAC address of the device.
|
DeviceThrift |
DeviceThrift.setMake(String make)
Device make (e.g., “Apple”).
|
DeviceThrift |
DeviceThrift.setModel(String model)
Device model (e.g., “iPhone”).
|
DeviceThrift |
DeviceThrift.setOs(String os)
Device operating system (e.g., “iOS”).
|
DeviceThrift |
DeviceThrift.setOsv(String osv)
Device operating system version (e.g., “3.1.2”).
|
DeviceThrift |
DeviceThrift.setUa(String ua)
Browser user agent string.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DeviceThrift.compareTo(DeviceThrift other) |
boolean |
DeviceThrift.equals(DeviceThrift that) |
static Device.Builder<DeviceThrift> |
Device.newThriftBuilder(DeviceThrift other)
Returns new Thrift builder instance based on existing prototype.
|
BidRequestThrift |
BidRequestThrift.setDevice(DeviceThrift device)
See Device Object.
|
static Device.Thrift |
Device.thrift(DeviceThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
| Constructor and Description |
|---|
DeviceThrift(DeviceThrift other)
Performs a deep copy on other.
|
Thrift(DeviceThrift wrapped)
Wraps an existing instance.
|
ThriftBuilder(DeviceThrift builder)
Only use this if you know what you are doing.
|
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.