public final class DeviceInfo extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Firebase Dynamic Links API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DeviceInfo() |
| Modifier and Type | Method and Description |
|---|---|
DeviceInfo |
clone() |
String |
getDeviceModelName()
Device model name.
|
String |
getLanguageCode()
Device language code setting.
|
String |
getLanguageCodeFromWebview()
Device language code setting obtained by executing JavaScript code in WebView.
|
String |
getLanguageCodeRaw()
Device language code raw setting.
|
Long |
getScreenResolutionHeight()
Device display resolution height.
|
Long |
getScreenResolutionWidth()
Device display resolution width.
|
String |
getTimezone()
Device timezone setting.
|
DeviceInfo |
set(String fieldName,
Object value) |
DeviceInfo |
setDeviceModelName(String deviceModelName)
Device model name.
|
DeviceInfo |
setLanguageCode(String languageCode)
Device language code setting.
|
DeviceInfo |
setLanguageCodeFromWebview(String languageCodeFromWebview)
Device language code setting obtained by executing JavaScript code in WebView.
|
DeviceInfo |
setLanguageCodeRaw(String languageCodeRaw)
Device language code raw setting.
|
DeviceInfo |
setScreenResolutionHeight(Long screenResolutionHeight)
Device display resolution height.
|
DeviceInfo |
setScreenResolutionWidth(Long screenResolutionWidth)
Device display resolution width.
|
DeviceInfo |
setTimezone(String timezone)
Device timezone setting.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDeviceModelName()
null for nonepublic DeviceInfo setDeviceModelName(String deviceModelName)
deviceModelName - deviceModelName or null for nonepublic String getLanguageCode()
null for nonepublic DeviceInfo setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic String getLanguageCodeFromWebview()
null for nonepublic DeviceInfo setLanguageCodeFromWebview(String languageCodeFromWebview)
languageCodeFromWebview - languageCodeFromWebview or null for nonepublic String getLanguageCodeRaw()
null for nonepublic DeviceInfo setLanguageCodeRaw(String languageCodeRaw)
languageCodeRaw - languageCodeRaw or null for nonepublic Long getScreenResolutionHeight()
null for nonepublic DeviceInfo setScreenResolutionHeight(Long screenResolutionHeight)
screenResolutionHeight - screenResolutionHeight or null for nonepublic Long getScreenResolutionWidth()
null for nonepublic DeviceInfo setScreenResolutionWidth(Long screenResolutionWidth)
screenResolutionWidth - screenResolutionWidth or null for nonepublic String getTimezone()
null for nonepublic DeviceInfo setTimezone(String timezone)
timezone - timezone or null for nonepublic DeviceInfo set(String fieldName, Object value)
set in class GenericJsonpublic DeviceInfo clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.