public static class Device.Thrift extends Object implements Device<DeviceThrift>
Device.Avro, Device.AvroBuilder, Device.Builder<T>, Device.Comparator, Device.NativeImpl, Device.Protobuf, Device.ProtobufBuilder, Device.Thrift, Device.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Thrift()
Create a new wrapper.
|
Thrift(DeviceThrift wrapped)
Wraps an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
DeviceThrift |
get()
Returns underlying object.
|
String |
getCarrier()
Carrier or ISP derived from the IP address.
|
int |
getConnectiontype()
Return the detected data connection type for the device.
|
int |
getDevicetype()
Return the device type being used.
|
String |
getDidmd5()
MD5 hashed device ID; IMEI when available, else MEID or ESN.
|
String |
getDidsha1()
SHA1 hashed device ID; IMEI when available, else MEID or ESN.
|
int |
getDnt()
If “0”, then do not track Is set to false, if “1”, then do no track is set to true in browser.
|
String |
getDpidmd5()
MD5 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
String |
getDpidsha1()
SHA1 hashed platform-specific ID (e.g., Android ID or UDID for iOS).
|
String |
getFlashver()
Return the Flash version detected.
|
Geo<?> |
getGeo()
Geography as derived from the device’s location services (e.g., cell tower triangulation, GPS) or IP address.
|
String |
getIfa()
Native identifier for advertisers; an opaque ID assigned by the device or browser for use as an advertising identifier.
|
String |
getIp()
IPv4 address closest to device.
|
String |
getIpv6()
IP address in IPv6.
|
int |
getJs()
“1” if the device supports JavaScript; else “0”.
|
String |
getLanguage()
Browser language; use alpha-2/ISO 639-1 codes.
|
String |
getMacmd5()
MD5 hashed MAC address of the device.
|
String |
getMacsha1()
SHA1 hashed MAC address of the device.
|
String |
getMake()
Device make (e.g., “Apple”).
|
String |
getModel()
Device model (e.g., “iPhone”).
|
String |
getOs()
Device operating system (e.g., “iOS”).
|
String |
getOsv()
Device operating system version (e.g., “3.1.2”).
|
String |
getUa()
Browser user agent string.
|
int |
hashCode() |
boolean |
isDefaultCarrier() |
boolean |
isDefaultConnectiontype() |
boolean |
isDefaultDevicetype() |
boolean |
isDefaultDidmd5() |
boolean |
isDefaultDidsha1() |
boolean |
isDefaultDnt() |
boolean |
isDefaultDpidmd5() |
boolean |
isDefaultDpidsha1() |
boolean |
isDefaultFlashver() |
boolean |
isDefaultGeo() |
boolean |
isDefaultIfa() |
boolean |
isDefaultIp() |
boolean |
isDefaultIpv6() |
boolean |
isDefaultJs() |
boolean |
isDefaultLanguage() |
boolean |
isDefaultMacmd5() |
boolean |
isDefaultMacsha1() |
boolean |
isDefaultMake() |
boolean |
isDefaultModel() |
boolean |
isDefaultOs() |
boolean |
isDefaultOsv() |
boolean |
isDefaultUa() |
Device.Builder<DeviceThrift> |
newBuilder()
Creates a new builder based on this object.
|
String |
toString() |
avro, avro, compareTo, getAvroClass, getAvroSchema, getComparator, getProtobufClass, getProtobufDescriptor, getProtobufProtocolClass, getProtobufProtocolDescriptor, getThriftClass, getThriftMetadataMap, isDefault, nativeImpl, newAvroBuilder, newAvroBuilder, newAvroBuilder, newAvroBuilder, newNativeImplBuilder, newNativeImplBuilder, newProtobufBuilder, newProtobufBuilder, newProtobufBuilder, newThriftBuilder, newThriftBuilder, newThriftBuilder, protobuf, protobuf, thrift, thriftpublic static final long serialVersionUID
public Thrift(DeviceThrift wrapped)
public Thrift()
public DeviceThrift get()
Deviceget in interface Supplier<DeviceThrift>get in interface Device<DeviceThrift>public Device.Builder<DeviceThrift> newBuilder()
DevicenewBuilder in interface Device<DeviceThrift>public int getDnt()
DevicegetDnt in interface Device<DeviceThrift>public boolean isDefaultDnt()
isDefaultDnt in interface Device<DeviceThrift>public String getUa()
DevicegetUa in interface Device<DeviceThrift>public boolean isDefaultUa()
isDefaultUa in interface Device<DeviceThrift>public String getIp()
DevicegetIp in interface Device<DeviceThrift>public boolean isDefaultIp()
isDefaultIp in interface Device<DeviceThrift>public Geo<?> getGeo()
DevicegetGeo in interface Device<DeviceThrift>public boolean isDefaultGeo()
isDefaultGeo in interface Device<DeviceThrift>public String getDidsha1()
DevicegetDidsha1 in interface Device<DeviceThrift>public boolean isDefaultDidsha1()
isDefaultDidsha1 in interface Device<DeviceThrift>public String getDidmd5()
DevicegetDidmd5 in interface Device<DeviceThrift>public boolean isDefaultDidmd5()
isDefaultDidmd5 in interface Device<DeviceThrift>public String getDpidsha1()
DevicegetDpidsha1 in interface Device<DeviceThrift>public boolean isDefaultDpidsha1()
isDefaultDpidsha1 in interface Device<DeviceThrift>public String getDpidmd5()
DevicegetDpidmd5 in interface Device<DeviceThrift>public boolean isDefaultDpidmd5()
isDefaultDpidmd5 in interface Device<DeviceThrift>public String getMacsha1()
DevicegetMacsha1 in interface Device<DeviceThrift>public boolean isDefaultMacsha1()
isDefaultMacsha1 in interface Device<DeviceThrift>public String getMacmd5()
DevicegetMacmd5 in interface Device<DeviceThrift>public boolean isDefaultMacmd5()
isDefaultMacmd5 in interface Device<DeviceThrift>public String getIpv6()
DevicegetIpv6 in interface Device<DeviceThrift>public boolean isDefaultIpv6()
isDefaultIpv6 in interface Device<DeviceThrift>public String getCarrier()
DevicegetCarrier in interface Device<DeviceThrift>public boolean isDefaultCarrier()
isDefaultCarrier in interface Device<DeviceThrift>public String getLanguage()
DevicegetLanguage in interface Device<DeviceThrift>public boolean isDefaultLanguage()
isDefaultLanguage in interface Device<DeviceThrift>public String getMake()
DevicegetMake in interface Device<DeviceThrift>public boolean isDefaultMake()
isDefaultMake in interface Device<DeviceThrift>public String getModel()
DevicegetModel in interface Device<DeviceThrift>public boolean isDefaultModel()
isDefaultModel in interface Device<DeviceThrift>public String getOs()
DevicegetOs in interface Device<DeviceThrift>public boolean isDefaultOs()
isDefaultOs in interface Device<DeviceThrift>public String getOsv()
DevicegetOsv in interface Device<DeviceThrift>public boolean isDefaultOsv()
isDefaultOsv in interface Device<DeviceThrift>public int getJs()
DevicegetJs in interface Device<DeviceThrift>public boolean isDefaultJs()
isDefaultJs in interface Device<DeviceThrift>public int getConnectiontype()
DevicegetConnectiontype in interface Device<DeviceThrift>public boolean isDefaultConnectiontype()
isDefaultConnectiontype in interface Device<DeviceThrift>public int getDevicetype()
DevicegetDevicetype in interface Device<DeviceThrift>public boolean isDefaultDevicetype()
isDefaultDevicetype in interface Device<DeviceThrift>public String getFlashver()
DevicegetFlashver in interface Device<DeviceThrift>public boolean isDefaultFlashver()
isDefaultFlashver in interface Device<DeviceThrift>public String getIfa()
DevicegetIfa in interface Device<DeviceThrift>public boolean isDefaultIfa()
isDefaultIfa in interface Device<DeviceThrift>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.