public class DeviceInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
OS_NAME |
static String |
TAG |
| Constructor and Description |
|---|
DeviceInfo(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateUUID() |
String |
getAdvertisingId() |
String |
getBrand() |
String |
getCarrier() |
String |
getCountry() |
protected android.location.Geocoder |
getGeocoder() |
String |
getLanguage() |
String |
getManufacturer() |
String |
getModel() |
android.location.Location |
getMostRecentLocation() |
String |
getOsName() |
String |
getOsVersion() |
String |
getVersionName() |
boolean |
isGooglePlayServicesEnabled() |
boolean |
isLimitAdTrackingEnabled() |
boolean |
isLocationListening() |
void |
prefetch() |
void |
setLocationListening(boolean locationListening) |
public static final String TAG
public static final String OS_NAME
public void prefetch()
public static String generateUUID()
public String getVersionName()
public String getOsName()
public String getOsVersion()
public String getBrand()
public String getManufacturer()
public String getModel()
public String getCarrier()
public String getCountry()
public String getLanguage()
public String getAdvertisingId()
public boolean isLimitAdTrackingEnabled()
public boolean isGooglePlayServicesEnabled()
public android.location.Location getMostRecentLocation()
public boolean isLocationListening()
public void setLocationListening(boolean locationListening)
protected android.location.Geocoder getGeocoder()
Copyright © 2019. All rights reserved.